Jake McGuire <j...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5084> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com