Message308224
> 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. |
|
Date |
User |
Action |
Args |
2017-12-13 17:32:04 | yselivanov | set | recipients:
+ yselivanov, ncoghlan, giampaolo.rodola, njs, chris.jerdonek, mbussonn |
2017-12-13 17:32:04 | yselivanov | set | messageid: <1513186324.43.0.213398074469.issue30491@psf.upfronthosting.co.za> |
2017-12-13 17:32:04 | yselivanov | link | issue30491 messages |
2017-12-13 17:32:04 | yselivanov | create | |
|