]> granicus.if.org Git - python/commit
Issue #6137: The pickle module now translates module names when loading
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 4 Jun 2009 20:32:06 +0000 (20:32 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 4 Jun 2009 20:32:06 +0000 (20:32 +0000)
commitd9dfaa948775061ef6218b181dfb617206db9e8c
tree1dd832a72a230d64f5e3a6fb6b153ec18c0a073d
parent751899a59f27e84547c454cf10dec71a8cdf8171
Issue #6137: The pickle module now translates module names when loading
or dumping pickles with a 2.x-compatible protocol, in order to make data
sharing and migration easier. This behaviour can be disabled using the
new `fix_imports` optional argument.
Doc/library/pickle.rst
Lib/_compat_pickle.py [new file with mode: 0644]
Lib/pickle.py
Lib/pickletools.py
Lib/test/pickletester.py
Lib/test/test_pickletools.py
Misc/NEWS
Modules/_pickle.c