Skip to content

[3.7] bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.modules (GH-9047) - #11921

Merged
pitrou merged 1 commit into
python:3.7from
miss-islington:backport-4371c0a-3.7
Feb 18, 2019
Merged

pitrou merged 1 commit into
python:3.7from
miss-islington:backport-4371c0a-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Feb 18, 2019 •

Copy link
Copy Markdown
Contributor

Fix C implementation of pickle.loads to use importlib's locking mechanisms, and thereby avoid using partially-loaded modules.
(cherry picked from commit 4371c0a)

Co-authored-by: tjb900 ozburgess@gmail.com

https://bugs.python.org/issue34572

…ving from sys.modules (pythonGH-9047)

Fix C implementation of pickle.loads to use importlib's locking mechanisms, and thereby avoid using partially-loaded modules.
(cherry picked from commit 4371c0a)

Co-authored-by: tjb900 <ozburgess@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@tjb900 and @pitrou: Status check is done, and it's a success ✅ .

@pitrou
pitrou merged commit 3129432 into python:3.7 Feb 18, 2019
@miss-islington
miss-islington deleted the backport-4371c0a-3.7 branch February 18, 2019 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants