summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-09-15 15:14:51 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-09-15 15:14:51 (GMT)
commitbe467e5c69515c355982e41d90762a31f2d3f75b (patch)
tree82e62b2aa1d370258dd72c41fcce76835e5180f4 /Python/pythonrun.c
parenta647f577f00647063f1e29be75b2b3b8207fc3d0 (diff)
downloadcpython-be467e5c69515c355982e41d90762a31f2d3f75b.zip
cpython-be467e5c69515c355982e41d90762a31f2d3f75b.tar.gz
cpython-be467e5c69515c355982e41d90762a31f2d3f75b.tar.bz2
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
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions