[issue15535] Fix pickling efficiency of named tuples in 2.7.3

Raymond Hettinger report at bugs.python.org
Fri May 3 12:07:01 CEST 2013


Raymond Hettinger added the comment:

> why the different fix for 3.3 

I reverted the 2.7.4 addition of __dict__ rather than introduce more differences between point releases with possible unintended effects.

In 3.3, the __dict__ attribute was there from the outset and was advertised in the docs, so it made more sense to leave it in and just suppress its inclusion in pickling.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15535>
_______________________________________


More information about the Python-bugs-list mailing list