Commit Graph
7 Commits
Author SHA1 Message Date
Jeong, YunWon a2e2bd299e asyncio: honor pending-task, unawaited, and get_referrers (#8689)
* asyncio: honor pending-task, unawaited, and get_referrers

Report Task destructor as 'Task was destroyed but it is pending!'.
Warn when a never-started coroutine is collected. Preserve signal()
errno. Attribute generator-owned frame locals to the owner in
gc.get_referrers. Remove the expectedFailure markers that now pass.

Assisted-by: Grok:grok-4.6

* tests: drop expectedFailure after unawaited warning

The never-started coroutine RuntimeWarning unblocks
test_bpo_45813_1 and the AsyncMock assertNeverAwaited cases.

Assisted-by: Grok:grok-4.6
2026-09-13 00:01:26 +09:00
Shahar Naveh 840f8c0322 Update asyncio to 3.14.5 (#8012) 2026-06-02 09:48:45 +00:00
Jeong, YunWon 242c8ea0c3 generator is borrowed 2026-02-02 00:43:07 +09:00
Jeong, YunWon 309af4dc5b mark test failures
Assisted-by: Codex:gpt-6
2026-02-02 00:43:07 +09:00
Jeong, YunWon cccb37f94a mark failures
Assisted-by: Codex:gpt-6
2026-02-02 00:43:07 +09:00
CPython Developers b83d155235 Update asyncio from v3.14.2 2026-02-02 00:43:07 +09:00
CPython Developers 850a0a7847 test_asyncio from Python 3.14.2 2026-01-29 16:48:33 +09:00