]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-112305: Fix check-clean-src to detect frozen_modules .h files. (#113344)
authorGregory P. Smith <greg@krypto.org>
Thu, 21 Dec 2023 07:32:13 +0000 (23:32 -0800)
committerGitHub <noreply@github.com>
Thu, 21 Dec 2023 07:32:13 +0000 (23:32 -0800)
commit103c4ea27464cef8d1793dab347f5ff3629dc243
tree4f8d59207ab526a9b247a972ebb97bb17cf94b47
parenta2dd0e7038ad65a2464541f91604524d871d98a7
gh-112305: Fix check-clean-src to detect frozen_modules .h files. (#113344)

A typo left this check broken so many of us who do out-of-tree builds
were seeing strange failures due to bad `Python/frozen_modules/*.h`
files being picked up from the source tree and used at build time from
different Python versions leading to errors like:

`Fatal Python error: _PyImport_InitCore: failed to initialize importlib`

Or similar once our build got to an "invoke the interpreter"
bootstrapping step due to incorrect bytecode being embedded.
Makefile.pre.in
Misc/NEWS.d/next/Build/2023-12-21-05-35-06.gh-issue-112305.VfqQPx.rst [new file with mode: 0644]