Skip to content

Commit 683958f

Browse files
committed
Update ranges of magic numbers for new Pythons
1 parent 2979bc3 commit 683958f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

marshalparser/magic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def inclusive_range(f: int, t: int) -> range:
99

1010

1111
# Based on CPython source code
12-
# Lib/importlib/_bootstrap_external.py
12+
# Include/internal/pycore_magic_number.h
1313
MAGIC_NUMBERS_RANGES = (
1414
(inclusive_range(3360, 3361), (3, 6)),
1515
(inclusive_range(3370, 3379), (3, 6)),
@@ -20,10 +20,10 @@ def inclusive_range(f: int, t: int) -> range:
2020
(inclusive_range(3430, 3439), (3, 10)),
2121
(inclusive_range(3450, 3495), (3, 11)),
2222
(inclusive_range(3500, 3531), (3, 12)),
23+
(inclusive_range(3550, 3571), (3, 13)),
2324
# These ranges have to be adjusted when the final releases are out
24-
(inclusive_range(3550, 3599), (3, 13)),
25-
(inclusive_range(3600, 3699), (3, 14)),
26-
(inclusive_range(3700, 3799), (3, 15)),
25+
(inclusive_range(3600, 3649), (3, 14)),
26+
(inclusive_range(3650, 3699), (3, 15)),
2727
)
2828

2929

0 commit comments

Comments
 (0)