[issue15535] Fix pickling efficiency of named tuples in 2.7.3
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Sep 6 01:25:47 CEST 2012
Amaury Forgeot d'Arc added the comment:
Adding "def __getstate__(self): return None" to the namedtuple template fixes the issue. Here is a patch with test.
----------
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file27131/namedtuple-pickle.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15535>
_______________________________________
More information about the Python-bugs-list
mailing list