diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-29 17:30:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 17:30:16 (GMT) |
commit | c93c58b5d560cfe44d9884ff02c9b18e06333360 (patch) | |
tree | 5a52914e13a0d5990b3644a61da2e7d948d655e8 /Misc | |
parent | 542497aa9f71c664768c3d5b7398c03679d3a7e1 (diff) | |
download | cpython-c93c58b5d560cfe44d9884ff02c9b18e06333360.zip cpython-c93c58b5d560cfe44d9884ff02c9b18e06333360.tar.gz cpython-c93c58b5d560cfe44d9884ff02c9b18e06333360.tar.bz2 |
bpo-33331: Clean modules in the reversed order in PyImport_Cleanup(). (GH-6565)
Modules imported last are now cleared first at interpreter shutdown.
A newly imported module is moved to the end of sys.modules, behind
modules on which it depends.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-04-22-13-41-59.bpo-33331.s_DxdL.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-04-22-13-41-59.bpo-33331.s_DxdL.rst b/Misc/NEWS.d/next/Core and Builtins/2018-04-22-13-41-59.bpo-33331.s_DxdL.rst new file mode 100644 index 0000000..95311a6 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2018-04-22-13-41-59.bpo-33331.s_DxdL.rst @@ -0,0 +1 @@ +Modules imported last are now cleared first at interpreter shutdown. |