[issue3657] pickle can pickle the wrong function

Neal Norwitz report at bugs.python.org
Mon Aug 25 01:50:26 CEST 2008


Neal Norwitz <nnorwitz at gmail.com> added the comment:

Indeed.  The problem was an incorrect conversion of str -> unicode,
instead of converting to bytes.  On getting the buffer from unicode, it
tried to read data which was uninitialized.

Hmmm, this fix is for 3.0 only, but the problem is happening in 2.6. 
Leaving open.

Committed revision 66021.

----------
assignee:  -> nnorwitz

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3657>
_______________________________________


More information about the Python-bugs-list mailing list