This website requires JavaScript.
Explore
Help
Sign In
traverseda
/
cpython
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
dad91dd1e9
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 12:14:51 -03:00
import
pickle
Reorganize pickle/cPickle testing so the tests pass regardless of the order they're run.
2001-01-22 18:05:20 -04:00
import
pickletester
pickletester
.
dotest
(
pickle
)