diff options
author | Guido van Rossum <guido@python.org> | 2001-08-18 21:22:07 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-18 21:22:07 +0000 |
commit | a92d16aaec1dc3c0d2e54c27516853b3e1bbd96a (patch) | |
tree | c80a0587ec574efdaefeafb9bf3dbf4db07a4ff0 /Python/bltinmodule.c | |
parent | 9454ad7263e1f1ebda090bf0ec4920695dfd4558 (diff) | |
download | cpython-git-a92d16aaec1dc3c0d2e54c27516853b3e1bbd96a.tar.gz |
SF patch #452239 by Gordon McMillan, to fix SF bug #451547.
This patch attempts to do to cPickle what Guido did
for pickle.py v 1.50. That is: save_global tries
importing the module, and fetching the name from the
module. If that fails, or the returned object is not
the same one we started with, it raises a
PicklingError. (All this so pickling a lambda will
fail at save time, rather than load time).
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions