fix(profiling): swallow RuntimeError from current_task() in asyncio wrappers - #20006
fix(profiling): swallow RuntimeError from current_task() in asyncio wrappers#20006vlad-scherbich wants to merge 2 commits into
Conversation
Codeowners resolved asResolved from the full PR diff against |
Circular import analysis
|
Dependency direction analysis
|
|
989dea6 to
551605d
Compare
86d787a to
a3c7591
Compare
551605d to
33d1ad8
Compare
a3c7591 to
89f7376
Compare
df5e2f7 to
6d624f8
Compare
129f3ce to
2a0b92f
Compare
Carry the profiling-native C++, Rust-header, CMake, setup, test, and CI changes for Python 3.15.
79b8faf to
ddba58a
Compare
2a0b92f to
10fad6b
Compare
|
main already gates these wrappers |
|
reopened — close was meant for a different leftover PR |
|
reopened — close was meant for a different leftover PR |
Description
Delta vs #19269: tolerates
RuntimeErrorfromasyncio.current_task()in the affected_GatheringFutureand_waitwrapper paths, skippinglink_taskswhen no running loop is available.This is a narrowly scoped runtime fix. It does not enable profiling broadly, add the native build, or change the #19272
sys.monitoringpath.Testing
Risks
Additional Notes
changelog/no-changelog.