[issue40992] Wrong warning in asyncio debug mode

2020-06-16 Thread Alex Alex


New submission from Alex Alex :

I run code in example and get message like:
Executing () 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 
<https://bugs.python.org/issue40992>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42306] wrong exception handling in case asyncio.shiled usage

2020-11-10 Thread Alex Alex


New submission from Alex Alex :

There is not any message about exception from try block.
See attach.

--
components: asyncio
files: scratch_31.py
messages: 380640
nosy: Alex Alex, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: wrong exception handling in case asyncio.shiled usage
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file49588/scratch_31.py

___
Python tracker 
<https://bugs.python.org/issue42306>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com