diff options
author | Neil Schemenauer <nas-github@arctrix.com> | 2021-03-06 21:34:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-06 21:34:03 (GMT) |
commit | 87ec26b812e9c4095c017dc60f246eda37b83ab2 (patch) | |
tree | 5f690c46fb72f2d2e368c086f7310a46ea6368f1 /Misc/NEWS.d/next/Build | |
parent | 5eb7796b7f3aae91b145ccea51b528662f3b5ce1 (diff) | |
download | cpython-87ec26b812e9c4095c017dc60f246eda37b83ab2.zip cpython-87ec26b812e9c4095c017dc60f246eda37b83ab2.tar.gz cpython-87ec26b812e9c4095c017dc60f246eda37b83ab2.tar.bz2 |
bpo-43372: Use _freeze_importlib for regen-frozen. (GH-24759)
This approach ensures the code matches the interpreter version.
Previously, PYTHON_FOR_REGEN was used to generate the code, which might
be wrong. The marshal format for code objects has changed with
bpo-42246, commit 877df851. Update the code and the expected code sizes
in ctypes test_frozentable.
Diffstat (limited to 'Misc/NEWS.d/next/Build')
-rw-r--r-- | Misc/NEWS.d/next/Build/2021-03-04-17-13-57.bpo-43372.FfqDVL.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2021-03-04-17-13-57.bpo-43372.FfqDVL.rst b/Misc/NEWS.d/next/Build/2021-03-04-17-13-57.bpo-43372.FfqDVL.rst new file mode 100644 index 0000000..e9c6f2a --- /dev/null +++ b/Misc/NEWS.d/next/Build/2021-03-04-17-13-57.bpo-43372.FfqDVL.rst @@ -0,0 +1,5 @@ +Use ``_freeze_importlib`` to generate code for the ``__hello__`` module. +This approach ensures the code matches the interpreter version. Previously, +PYTHON_FOR_REGEN was used to generate the code, which might be wrong. The +marshal format for code objects has changed with bpo-42246, commit 877df851. +Update the code and the expected code sizes in ctypes test_frozentable. |