[New-bugs-announce] [issue26159] Unsafe to BaseEventLoop.set_debug(False) when PYTHONASYNCIODEBUG=1

Bradley McLean report at bugs.python.org
Tue Jan 19 11:14:58 EST 2016


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
messages: 258607
nosy: Bradley McLean, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: Unsafe to BaseEventLoop.set_debug(False) when PYTHONASYNCIODEBUG=1
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26159>
_______________________________________


More information about the New-bugs-announce mailing list