[issue5084] unpickling does not intern attribute names
Jake McGuire
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>
<http://bugs.python.org/issue5084>
_______________________________________
More information about the Python-bugs-list
mailing list