]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39681: Fix C pickle regression with minimal file-like objects (GH-18592) (#18630)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 23 Feb 2020 22:53:24 +0000 (14:53 -0800)
committerGitHub <noreply@github.com>
Sun, 23 Feb 2020 22:53:24 +0000 (23:53 +0100)
commitb19f7ecfa3adc6ba1544225317b9473649815b38
tree90e05b2a2897a598bf22e39c4f0a74d4dffb96c7
parent13951c7f25c628ea2dc0a869ebe18e7bf593fa6d
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>
Lib/test/pickletester.py
Misc/NEWS.d/next/Library/2020-02-21-13-58-40.bpo-39681.zN8hf0.rst [new file with mode: 0644]
Modules/_pickle.c