[issue26159] Unsafe to BaseEventLoop.set_debug(False) when PYTHONASYNCIODEBUG=1

2021-12-09 Thread Irit Katriel
Irit Katriel added the comment: asyncio.coroutine was removed in 3.10, so this is no longer relevant. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue26159] Unsafe to BaseEventLoop.set_debug(False) when PYTHONASYNCIODEBUG=1

2016-01-19 Thread Bradley McLean
New submission from Bradley McLean: 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. -- components: asyncio