diff options
| author | Mark Shannon <mark@hotpy.org> | 2021-04-06 11:48:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-06 11:48:59 +0100 |
| commit | b37181e69209746adc2119c471599a1ea5faa6c8 (patch) | |
| tree | 3605b5e9447fe18ed0c87b745daef1216301583f /Lib/importlib/_bootstrap_external.py | |
| parent | 489c36920e94bfb4988b6f965bd0aafdfaff0d4f (diff) | |
| download | cpython-git-b37181e69209746adc2119c471599a1ea5faa6c8.tar.gz | |
bpo-43683: Handle generator entry in bytecode (GH-25138)
* Handle check for sending None to starting generator and coroutine into bytecode.
* Document new bytecode and make it fail gracefully if mis-compiled.
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
| -rw-r--r-- | Lib/importlib/_bootstrap_external.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 77bd0e092b..d351ee05ed 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -315,6 +315,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.10a2 3433 (RERAISE restores f_lasti if oparg != 0) # Python 3.10a6 3434 (PEP 634: Structural Pattern Matching) # Python 3.10a7 3435 Use instruction offsets (as opposed to byte offsets). +# Python 3.10a7 3436 (Add GEN_START bytecode #43683) # # MAGIC must change whenever the bytecode emitted by the compiler may no |
