summaryrefslogtreecommitdiffstats
path: root/PC/launcher.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-01-06 13:09:25 (GMT)
committerGitHub <noreply@github.com>2022-01-06 13:09:25 (GMT)
commite028ae99ecee671c0e8a3eabb829b5b2acfc4441 (patch)
tree497e68f1caeb92104bf3a464977bb0e024131f69 /PC/launcher.c
parent3e43fac2503afe219336742b150b3ef6e470686f (diff)
downloadcpython-e028ae99ecee671c0e8a3eabb829b5b2acfc4441.zip
cpython-e028ae99ecee671c0e8a3eabb829b5b2acfc4441.tar.gz
cpython-e028ae99ecee671c0e8a3eabb829b5b2acfc4441.tar.bz2
bpo-45923: Handle call events in bytecode (GH-30364)
* Add a RESUME instruction to handle "call" events.
Diffstat (limited to 'PC/launcher.c')
-rw-r--r--PC/launcher.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/PC/launcher.c b/PC/launcher.c
index d2e6462..de7abeb 100644
--- a/PC/launcher.c
+++ b/PC/launcher.c
@@ -1268,7 +1268,9 @@ static PYC_MAGIC magic_values[] = {
{ 3400, 3419, L"3.8" },
{ 3420, 3429, L"3.9" },
{ 3430, 3449, L"3.10" },
- { 3450, 3469, L"3.11" },
+ /* Allow 50 magic numbers per version from here on */
+ { 3450, 3499, L"3.11" },
+ { 3500, 3549, L"3.12" },
{ 0 }
};