[issue4842] int('3L') still valid in Python 3.0

Mark Dickinson report at bugs.python.org
Tue Jan 6 00:34:26 CET 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

I guess that makes this a release blocker for 3.0.1, then.

Here's a second patch, complementary to the first, that fixes pickling of 
longs so that pickle protocol 0 in Python 3.0.1 and later behaves 
identically to pickle protocol 0 in Python 2.x.  Namely:

 - an 'L' is always appended on output, and
 - an 'L' is permitted, but not required, on input

This keeps compatibility both with 2.x and with 3.0.0.

issue4842_pickle.patch should be applied before issue4842.patch.

----------
priority:  -> release blocker
stage:  -> patch review
Added file: http://bugs.python.org/file12610/issue4842_pickle.patch

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


More information about the Python-bugs-list mailing list