New submission from Alex Alex <aa9563...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue40992>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to