8000 gh-128089: Bump the PYC magic number by JelleZijlstra · Pull Request #128097 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-128089: Bump the PYC magic number #128097

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into bump-magic
  • Loading branch information
JelleZijlstra authored Dec 20, 2024
commit 9550c5fce905d0904b4c6751314de0bb5542db3c
3 changes: 2 additions & 1 deletion Include/internal/pycore_magic_number.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ Known values:
Python 3.14a1 3608 (Add support for slices)
Python 3.14a2 3609 (Add LOAD_SMALL_INT and LOAD_CONST_IMMORTAL instructions, remove RETURN_CONST)
Python 3.14a4 3610 (Add VALUE_WITH_FAKE_GLOBALS format to annotationlib)
Python 3.14a4 3611 (Add NOT_TAKEN instruction)

Python 3.15 will start with 3650

Expand All @@ -275,7 +276,7 @@ PC/launcher.c must also be updated.

*/

#define PYC_MAGIC_NUMBER 3610
#define PYC_MAGIC_NUMBER 3611
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
(little-endian) and then appending b'\r\n'. */
#define PYC_MAGIC_NUMBER_TOKEN \
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.
0