[issue37299] RuntimeWarning is NOT raised

YoSTEALTH report at bugs.python.org
Mon Jun 17 04:41:11 EDT 2019


YoSTEALTH <ritesh at stealthcentral.com> added the comment:

Yes, this was the previous conclusion.

In a large code base, its hard to find such solution easily! There are many cases where `await` is not called and `RuntimeWarning` is not raised. Hard to narrow down the exact problem.

Maybe there needs to be a better way to evaluate coroutine vs waiting for the garbage collection to happen to riase `RuntimeWarning`

Paul, thanks for taking time to answer :)

----------

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


More information about the Python-bugs-list mailing list