commit | c93c58b5d560cfe44d9884ff02c9b18e06333360 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Mon Oct 29 19:30:16 2018 +0200 |
committer | GitHub <noreply@github.com> | Mon Oct 29 19:30:16 2018 +0200 |
tree | 5a52914e13a0d5990b3644a61da2e7d948d655e8 | |
parent | 542497aa9f71c664768c3d5b7398c03679d3a7e1 [diff] |
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.