summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-02-23 22:53:24 (GMT)
committerGitHub <noreply@github.com>2020-02-23 22:53:24 (GMT)
commitb19f7ecfa3adc6ba1544225317b9473649815b38 (patch)
tree90e05b2a2897a598bf22e39c4f0a74d4dffb96c7 /Misc
parent13951c7f25c628ea2dc0a869ebe18e7bf593fa6d (diff)
downloadcpython-b19f7ecfa3adc6ba1544225317b9473649815b38.zip
cpython-b19f7ecfa3adc6ba1544225317b9473649815b38.tar.gz
cpython-b19f7ecfa3adc6ba1544225317b9473649815b38.tar.bz2
bpo-39681: Fix C pickle regression with minimal file-like objects (GH-18592) (#18630)
Fix a regression where the C pickle module wouldn't allow unpickling from a file-like object that doesn't expose a readinto() method. (cherry picked from commit 9f37872e307734666a7169f7be6e3370d3068282) Co-authored-by: Antoine Pitrou <antoine@python.org> Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-02-21-13-58-40.bpo-39681.zN8hf0.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-02-21-13-58-40.bpo-39681.zN8hf0.rst b/Misc/NEWS.d/next/Library/2020-02-21-13-58-40.bpo-39681.zN8hf0.rst
new file mode 100644
index 0000000..c10e2fd
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-02-21-13-58-40.bpo-39681.zN8hf0.rst
@@ -0,0 +1,2 @@
+Fix a regression where the C pickle module wouldn't allow unpickling from a
+file-like object that doesn't expose a readinto() method.