[issue20653] Pickle enums by name
Serhiy Storchaka
report at bugs.python.org
Mon Feb 17 18:55:27 CET 2014
Serhiy Storchaka added the comment:
This is new feature of protocol 4 (PEP 3154, section 'Serializing more "lookupable" objects'). When __reduce_ex__() returns a string (instead of a tuple), this is interpreted as the name of a global, and qualnames with dots are now supported in protocol 4.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20653>
_______________________________________
More information about the Python-bugs-list
mailing list