[issue17810] Implement PEP 3154 (pickle protocol 4)
Nick Coghlan
report at bugs.python.org
Sat Aug 17 23:58:59 CEST 2013
Nick Coghlan added the comment:
Potentially relevant to this: we hope to have PEP 451 done for 3.4, which adds a __spec__ attribute to module objects, and will also tweak runpy to ensure -m registers __main__ under it's real name as well.
If pickle uses __spec__.name in preference to __name__ when __spec__ is defined, then objects defined in __main__ modules run via -m should start being pickled correctly.
----------
nosy: +ncoghlan
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17810>
_______________________________________
More information about the Python-bugs-list
mailing list