diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-12-07 09:09:27 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-12-07 09:09:27 (GMT) |
commit | d05c9ff84501d93b13de40a9c7b0360c7d2ebada (patch) | |
tree | ae840ca5e91d21e53cc60e6c3e7fdd64b5a9fec4 /Misc | |
parent | ee07b94788e5e3e79f6632e92a5295adc3937bf4 (diff) | |
download | cpython-d05c9ff84501d93b13de40a9c7b0360c7d2ebada.zip cpython-d05c9ff84501d93b13de40a9c7b0360c7d2ebada.tar.gz cpython-d05c9ff84501d93b13de40a9c7b0360c7d2ebada.tar.bz2 |
Issue #6784: Strings from Python 2 can now be unpickled as bytes objects.
Initial patch by Merlijn van Deen.
I've added a few unrelated docstring fixes in the patch while I was at
it, which makes the documentation for pickle a bit more consistent.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -293,6 +293,7 @@ Kushal Das Jonathan Dasteel Pierre-Yves David A. Jesse Jiryu Davis +Merlijn van Deen John DeGood Ned Deily Vincent Delft @@ -23,6 +23,10 @@ Library - Issue #19296: Silence compiler warning in dbm_open +- Issue #6784: Strings from Python 2 can now be unpickled as bytes + objects by setting the encoding argument of Unpickler to be 'bytes'. + Initial patch by Merlijn van Deen. + - Issue #19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF, and analogous bug in lzma module. |