summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-20 20:43:58 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-20 20:43:58 (GMT)
commit8dd05147d6224f4982ef6b14d904bb600ef33ea3 (patch)
treef65fc6569e9fdb3ef82719d268531676f2b2743d /Misc
parent6dc4396708010c001bc4ac1a95550f806f654408 (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1050ae4..d20d20b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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