summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-12 22:51:48 (GMT)
committerGitHub <noreply@github.com>2019-07-12 22:51:48 (GMT)
commitbfb709b771230e7e466961b5ddf4852962602450 (patch)
tree0de45accf58e315f6dfbac3559a996784f90b9f4 /Python/pythonrun.c
parent3d58b78481e0238593f85cc182b798fe3b77648c (diff)
downloadcpython-bfb709b771230e7e466961b5ddf4852962602450.zip
cpython-bfb709b771230e7e466961b5ddf4852962602450.tar.gz
cpython-bfb709b771230e7e466961b5ddf4852962602450.tar.bz2
[3.8] bpo-37521: No longer treat insertion into sys.modules as optional in importlib examples (GH-14723) (GH-14724)
Fix importlib examples to insert any newly created modules via importlib.util.module_from_spec() immediately into sys.modules instead of after calling loader.exec_module(). Thanks to Benjamin Mintz for finding the bug. https://bugs.python.org/issue37521 (cherry picked from commit 0827064c955f88df8ba5621d8e3d81be3cfc26a9) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> https://bugs.python.org/issue37521
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions