Skip to content

Commit 5d5acd7

Browse files
committed
Update magic number for 3.15
1 parent 666ed33 commit 5d5acd7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Include/internal/pycore_magic_number.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,9 @@ Known values:
277277
Python 3.14a7 3622 (Store annotations in different class dict keys)
278278
Python 3.14a7 3623 (Add BUILD_INTERPOLATION & BUILD_TEMPLATE opcodes)
279279
Python 3.14b1 3624 (Don't optimize LOAD_FAST when local is killed by DELETE_FAST)
280+
Python 3.15a0 3650 (Initial version)
280281
281-
Python 3.15 will start with 3650
282+
Python 3.16 will start with 3700
282283
283284
Please don't copy-paste the same pre-release tag for new entries above!!!
284285
You should always use the *upcoming* tag. For example, if 3.12a6 came out
@@ -289,7 +290,7 @@ PC/launcher.c must also be updated.
289290
290291
*/
291292

292-
#define PYC_MAGIC_NUMBER 3624
293+
#define PYC_MAGIC_NUMBER 3650
293294
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
294295
(little-endian) and then appending b'\r\n'. */
295296
#define PYC_MAGIC_NUMBER_TOKEN \

PC/launcher.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,7 @@ static PYC_MAGIC magic_values[] = {
12721272
{ 3500, 3549, L"3.12" },
12731273
{ 3550, 3599, L"3.13" },
12741274
{ 3600, 3649, L"3.14" },
1275+
{ 3650, 3699, L"3.15" },
12751276
{ 0 }
12761277
};
12771278

0 commit comments

Comments
 (0)