[issue5084] unpickling does not intern attribute names
report at bugs.python.org
Wed Feb 25 00:33:34 CET 2009
Jake McGuire <jake at youtube.com> added the comment:
The fromstring/asstring dance was due to my incomplete understanding of
refcounting. PyDict_Next returns a borrowed reference but
PyString_InternInPlace expects an owned reference. Thanks to Kirk
McDonald, I have a new patch that does the refcounting correctly.
What sort of test did you have in mind?
Added file: http://bugs.python.org/file13169/cPickle.c.diff
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list