Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
bump magic number - better safe than sorry
  • Loading branch information
chris-eibl committed Jan 4, 2026
commit d41332ed43f66dda3efd67e7fe2a70bbd1040087
3 changes: 2 additions & 1 deletion Include/internal/pycore_magic_number.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ Known values:
Python 3.15a1 3654 (Fix missing exception handlers in logical expression)
Python 3.15a1 3655 (Fix miscompilation of some module-level annotations)
Python 3.15a1 3656 (Add TRACE_RECORD instruction, for platforms with switch based interpreter)
Comment thread
Fidget-Spinner marked this conversation as resolved.
Outdated
Python 3.15a4 3657 (Add BINARY_OP_SUBSCR_USTR_INT)


Python 3.16 will start with 3700
Expand All @@ -300,7 +301,7 @@ PC/launcher.c must also be updated.

*/

#define PYC_MAGIC_NUMBER 3656
#define PYC_MAGIC_NUMBER 3657
/* 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