summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authortjb900 <ozburgess@gmail.com>2019-02-18 15:30:51 (GMT)
committerAntoine Pitrou <pitrou@free.fr>2019-02-18 15:30:51 (GMT)
commit4371c0a9c0848f7a0947d43f26f234842b41efdf (patch)
tree122d9ea80e833f00f856fa58625b7a17f3573ad3 /Misc
parent4a7f44a2ed49ff1e87db062e7177a56c6e4bbdb0 (diff)
downloadcpython-4371c0a9c0848f7a0947d43f26f234842b41efdf.zip
cpython-4371c0a9c0848f7a0947d43f26f234842b41efdf.tar.gz
cpython-4371c0a9c0848f7a0947d43f26f234842b41efdf.tar.bz2
bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.modules (GH-9047)
Fix C implementation of pickle.loads to use importlib's locking mechanisms, and thereby avoid using partially-loaded modules.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-09-05-03-02-32.bpo-34572.ayisd2.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-09-05-03-02-32.bpo-34572.ayisd2.rst b/Misc/NEWS.d/next/Library/2018-09-05-03-02-32.bpo-34572.ayisd2.rst
new file mode 100644
index 0000000..0468d96
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-09-05-03-02-32.bpo-34572.ayisd2.rst
@@ -0,0 +1,3 @@
+Fix C implementation of pickle.loads to use importlib's locking
+mechanisms, and thereby avoid using partially-loaded modules.
+Patch by Tim Burgess.