diff options
author | Mark Shannon <mark@hotpy.org> | 2022-01-06 13:09:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 13:09:25 (GMT) |
commit | e028ae99ecee671c0e8a3eabb829b5b2acfc4441 (patch) | |
tree | 497e68f1caeb92104bf3a464977bb0e024131f69 /Lib/opcode.py | |
parent | 3e43fac2503afe219336742b150b3ef6e470686f (diff) | |
download | cpython-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 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index 6030743..7f39a7b 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -178,6 +178,7 @@ def_op('LOAD_CLASSDEREF', 148) hasfree.append(148) def_op('COPY_FREE_VARS', 149) +def_op('RESUME', 151) def_op('MATCH_CLASS', 152) def_op('FORMAT_VALUE', 155) |