[New-bugs-announce] [issue40992] Wrong warning in asyncio debug mode
Alex Alex
report at bugs.python.org
Tue Jun 16 10:14:39 EDT 2020
New submission from Alex Alex <aa9563698 at gmail.com>:
I run code in example and get message like:
Executing <Handle <TaskWakeupMethWrapper object at 0x7f1c50f3ecd8>(<Future finis...events.py:396>) created at /usr/lib/python3.7/asyncio/futures.py:288> took 2.000 seconds
It say that coroutine run for 2 second but it was run for 5 second. Also if I comment part in qwe function after await I won't get any warning, but should.
----------
components: asyncio
files: asyncio-wrong-warn.py
messages: 371659
nosy: Alex Alex, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Wrong warning in asyncio debug mode
versions: Python 3.7
Added file: https://bugs.python.org/file49237/asyncio-wrong-warn.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40992>
_______________________________________
More information about the New-bugs-announce
mailing list