◐ Shell
clean mode source ↗

bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.modules by tjb900 · Pull Request #9047 · python/cpython

@tjb900

pganssle

pablogsal

pitrou

pitrou

pitrou

@tjb900

pablogsal

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 18, 2019
…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>

pitrou pushed a commit that referenced this pull request

Feb 18, 2019
…ving from sys.modules (GH-9047) (GH-11921)

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>