]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117953: Cleanups For fix_up_extension() in import.c (gh-118192)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 24 Apr 2024 15:55:48 +0000 (09:55 -0600)
committerGitHub <noreply@github.com>
Wed, 24 Apr 2024 15:55:48 +0000 (09:55 -0600)
commitaf3c1d817d3f8369f8003965d967332a3a721a25
treed78fb452aa5da4e1f61d1eaf8f48a470efd731e0
parent8227883d1f1bbb6560e5f175d7ee49f013c094bd
gh-117953: Cleanups For fix_up_extension() in import.c (gh-118192)

These are cleanups I've pulled out of gh-118116.  Mostly, this change moves code around to align with some future changes and to improve clarity a little.  There is one very small change in behavior: we now add the module to the per-interpreter caches after updating the global state, rather than before.
Include/internal/pycore_import.h
Python/import.c
Python/importdl.c
Python/pylifecycle.c
Python/sysmodule.c