[issue40672] asyncio.wait_for: process future result produced during cancelation

Yury Selivanov report at bugs.python.org
Mon May 18 14:34:00 EDT 2020


Yury Selivanov <yselivanov at gmail.com> added the comment:

> 2) Add some warning about the value is thrown away (in debug mode) and document it somewhere.

The documentation update is definitely something that needs to be done in 3.9.  Want to submit a PR?

We can also issue a warning in asyncio debug mode.

I'm really not sure about "1) Return that value from `asyncio.wait_for`.".


> I am a newbie here, so sorry if it is wrong to create such "proposal" issues.

The issue is clear, thanks for submitting it! Keep up the great work.

----------
nosy: +chris.jerdonek

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40672>
_______________________________________


More information about the Python-bugs-list mailing list