]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-128534: Fix behavior of branch monitoring for `async for` (GH-130847)
authorMark Shannon <mark@hotpy.org>
Fri, 7 Mar 2025 14:30:31 +0000 (14:30 +0000)
committerGitHub <noreply@github.com>
Fri, 7 Mar 2025 14:30:31 +0000 (14:30 +0000)
commit89df62c12093bfa079860a93032468ebece3774d
treee982ec3b0a29f1c8fb727e0fe4b49b62909b5fb0
parente5527f2cdda501542bf94179093e1a15d7889b74
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
17 files changed:
Include/internal/pycore_magic_number.h
Include/internal/pycore_opcode_metadata.h
Include/opcode_ids.h
Lib/_opcode_metadata.py
Lib/dis.py
Lib/test/test_code.py
Lib/test/test_dis.py
Lib/test/test_monitoring.py
Misc/NEWS.d/next/Core_and_Builtins/2025-03-04-15-12-32.gh-issue-128534.3A0K3D.rst [new file with mode: 0644]
Programs/test_frozenmain.h
Python/assemble.c
Python/bytecodes.c
Python/codegen.c
Python/flowgraph.c
Python/generated_cases.c.h
Python/instrumentation.c
Python/opcode_targets.h