mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
GH-128534: Fix behavior of branch monitoring for async for (GH-130847)
* Both branches in a pair now have a common source and are included in co_branches
This commit is contained in:
parent
e5527f2cdd
commit
89df62c120
17 changed files with 235 additions and 154 deletions
4
Python/opcode_targets.h
generated
4
Python/opcode_targets.h
generated
|
|
@ -8,7 +8,6 @@ static void *opcode_targets[256] = {
|
|||
&&TARGET_CHECK_EXC_MATCH,
|
||||
&&TARGET_CLEANUP_THROW,
|
||||
&&TARGET_DELETE_SUBSCR,
|
||||
&&TARGET_END_ASYNC_FOR,
|
||||
&&TARGET_END_FOR,
|
||||
&&TARGET_END_SEND,
|
||||
&&TARGET_EXIT_INIT_CHECK,
|
||||
|
|
@ -17,8 +16,8 @@ static void *opcode_targets[256] = {
|
|||
&&TARGET_GET_AITER,
|
||||
&&TARGET_GET_ANEXT,
|
||||
&&TARGET_GET_ITER,
|
||||
&&TARGET_RESERVED,
|
||||
&&TARGET_GET_LEN,
|
||||
&&TARGET_RESERVED,
|
||||
&&TARGET_GET_YIELD_FROM_ITER,
|
||||
&&TARGET_INTERPRETER_EXIT,
|
||||
&&TARGET_LOAD_BUILD_CLASS,
|
||||
|
|
@ -67,6 +66,7 @@ static void *opcode_targets[256] = {
|
|||
&&TARGET_DELETE_NAME,
|
||||
&&TARGET_DICT_MERGE,
|
||||
&&TARGET_DICT_UPDATE,
|
||||
&&TARGET_END_ASYNC_FOR,
|
||||
&&TARGET_EXTENDED_ARG,
|
||||
&&TARGET_FOR_ITER,
|
||||
&&TARGET_GET_AWAITABLE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue