[issue15535] Fix pickling of named tuples in 2.7.3 (BUG)

2012-08-31 Thread Thomas Miedema
Changes by Thomas Miedema : Removed file: http://bugs.python.org/file26662/namedtuple_pickle_fix.patch ___ Python tracker <http://bugs.python.org/issue15535> ___ ___ Pytho

[issue15535] Fix pickling of named tuples in 2.7.3 (BUG)

2012-08-31 Thread Thomas Miedema
Thomas Miedema added the comment: Added a better testcase. -- title: Fix pickling of named tuples in 2.7.3 -> Fix pickling of named tuples in 2.7.3 (BUG) Added file: http://bugs.python.org/file27077/namedtuple_pickle_fix.patch ___ Python trac

[issue15535] Fix pickling of named tuples in 2.7.3

2012-08-15 Thread Thomas Miedema
Thomas Miedema added the comment: Attached is a script that shows the problem at hand. Note that my remark that this bug could result in very large pickled files when using nested namedtuples seems not te be true. -- Added file: http://bugs.python.org/file26820

[issue15535] Fix pickling of named tuples in 2.7.3

2012-08-02 Thread Thomas Miedema
New submission from Thomas Miedema: Pickling a namedtuple Point(x=10, y=20, z=30) in Python 2.7.2 with protocol level 0 would result in something like the following output: ccopy_reg _reconstructor p0 (c__main__ Point p1 c__builtin__ tuple p2 (I10 I20 I30 tp3 tp4