SIGN IN SIGN UP

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.
S
Serhiy Storchaka committed
c93c58b5d560cfe44d9884ff02c9b18e06333360
Parent: 542497a
Committed by GitHub <noreply@github.com> on 10/29/2018, 5:30:16 PM