]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34572: change _pickle unpickling to use import rather than retrieving from sys...
authortjb900 <ozburgess@gmail.com>
Mon, 18 Feb 2019 15:30:51 +0000 (23:30 +0800)
committerAntoine Pitrou <pitrou@free.fr>
Mon, 18 Feb 2019 15:30:51 +0000 (15:30 +0000)
commit4371c0a9c0848f7a0947d43f26f234842b41efdf
tree122d9ea80e833f00f856fa58625b7a17f3573ad3
parent4a7f44a2ed49ff1e87db062e7177a56c6e4bbdb0
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.
Lib/test/pickletester.py
Misc/NEWS.d/next/Library/2018-09-05-03-02-32.bpo-34572.ayisd2.rst [new file with mode: 0644]
Modules/_pickle.c