]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42208: Move _PyImport_Cleanup() to pylifecycle.c (GH-23040)
authorVictor Stinner <vstinner@python.org>
Fri, 30 Oct 2020 17:03:28 +0000 (18:03 +0100)
committerGitHub <noreply@github.com>
Fri, 30 Oct 2020 17:03:28 +0000 (18:03 +0100)
commitdff1ad509051f7e07e77d1e3ec83314d53fb1118
tree3d293469f40de9651f453652e5f2d7c3ff367152
parent8b3414818f5289eac530bf38bcfbd7b2b851805c
bpo-42208: Move _PyImport_Cleanup() to pylifecycle.c (GH-23040)

Move _PyImport_Cleanup() to pylifecycle.c, rename it to
finalize_modules(), split it (200 lines) into many smaller
sub-functions and cleanup the code.
Python/import.c
Python/pylifecycle.c