Yury Selivanov <yseliva...@gmail.com> added the comment: > send_ping() # don't care about result, forgot await > # get collected > await something_that_will_trigger_check_coros_weakreaf() # oh no !
I don't understand what you are trying to say with this example. What is "something_that_will_trigger_check_coros_weakreaf" supposed to do? The point of my proposal that you will have a coroutine reported at the "get collected" point in CPython, or sometime later in PyPy. > So if its weak-refd then you can't be sure you are actually preventing > non-awaited coros. Sorry, I don't understand this sentence either. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30491> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com