diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-01-20 20:43:58 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-01-20 20:43:58 (GMT) |
commit | 8dd05147d6224f4982ef6b14d904bb600ef33ea3 (patch) | |
tree | f65fc6569e9fdb3ef82719d268531676f2b2743d /Misc | |
parent | 6dc4396708010c001bc4ac1a95550f806f654408 (diff) | |
download | cpython-8dd05147d6224f4982ef6b14d904bb600ef33ea3.zip cpython-8dd05147d6224f4982ef6b14d904bb600ef33ea3.tar.gz cpython-8dd05147d6224f4982ef6b14d904bb600ef33ea3.tar.bz2 |
Issue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with the
'L' opcode always appends an 'L' on output, just as 2.x does. When
unpickling, remove the trailing 'L' (if present) before passing the
result to PyLong_FromString.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -134,6 +134,9 @@ Core and Builtins Library ------- +- Issue #4842: Always append a trailing 'L' when pickling longs using + pickle protocol 0. When reading, the 'L' is optional. + - Add the importlib package. - Issue #4301: Patch the logging module to add processName support, remove |