[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

Marc-Andre Lemburg report at bugs.python.org
Wed Feb 23 11:42:56 CET 2011


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Antoine Pitrou wrote:
> 
> Antoine Pitrou <pitrou at free.fr> added the comment:
> 
>>> I am not sure PyUnicode_Decode() should treat NULL as an empty string.
>>
>> Definitely not. That would hide programming errors.
> 
> Well, this could break some third-party code.

If that code passes NULL in as buffer s, that 3rd party code is
already broken and the patch would hide this fact.

----------
title: Some "trivial" python 2.x pickles fails to load in Python 3.2 -> Some "trivial" python 2.x pickles fails to load in	Python 3.2

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


More information about the Python-bugs-list mailing list