This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
cpython
mirror of
https://github.com/python/cpython.git
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
2f93e28a19
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
)