Issue 26159: Unsafe to BaseEventLoop.set_debug(False) when PYTHONASYNCIODEBUG=1 (original) (raw)

Issue26159

Created on 2016-01-19 16:14 by Bradley McLean, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg258607 - (view) Author: Bradley McLean (Bradley McLean) Date: 2016-01-19 16:14
Leads to spurious RuntimeWarning: coroutine was never awaited messages, when @asyncio.coroutine methods call async def methods. Likely because decorators ran before set_debug set False, and are assuming it won't change.
msg408162 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-12-09 22:36
asyncio.coroutine was removed in 3.10, so this is no longer relevant.
History
Date User Action Args
2022-04-11 14:58:26 admin set github: 70347
2021-12-09 22:36:18 iritkatriel set status: open -> closednosy: + iritkatrielmessages: + resolution: out of datestage: resolved
2016-01-19 16:14:58 Bradley McLean create