This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
cpython
Watch
2
Star
0
Fork
You've already forked cpython
0
mirror of
https://github.com/python/cpython.git
synced
2025-10-20 00:13:47 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
499ab6a653
cpython
/
Lib
/
test
/
test_pickle.py
4 lines
62 B
Python
Raw
Normal View
History
Unescape
Escape
Fix Bug #114293: Strings are unpickled by calling eval on the string's repr. This change makes pickle work like cPickle; it checks if the pickled string is safe to eval and raises ValueError if it is not. test suite modifications: Verify that pickle catches a variety of insecure string pickles Make test_pickle and test_cpickle use exactly the same test suite Add test for pickling recursive object
2000-09-15 15:14:51 +00:00
import
pickle
Reorganize pickle/cPickle testing so the tests pass regardless of the order they're run.
2001-01-22 22:05:20 +00:00
import
pickletester
pickletester
.
dotest
(
pickle
)
Reference in a new issue
Copy permalink