This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger, thomie
Date 2012-09-01.00:29:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346459360.34.0.487547307324.issue15535@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, all pickle protocol levels are affected:

Point = colletions.namedtuple('Point', ['x', 'y', 'z'])
for proto in range(3):
    pickletools.dis(dumps(Point(10, 20, 30), proto))

I'll look at the proposed fix in more detail when I get a chance -- we want to make sure that subclasses aren't adversely affected and that there aren't any other unintended side-effects.
History
Date User Action Args
2012-09-01 00:29:20rhettingersetrecipients: + rhettinger, thomie
2012-09-01 00:29:20rhettingersetmessageid: <1346459360.34.0.487547307324.issue15535@psf.upfronthosting.co.za>
2012-09-01 00:29:19rhettingerlinkissue15535 messages
2012-09-01 00:29:18rhettingercreate