Message317603
Thanks Jan. Thanks a lot for a short script to reproduce this bug.
The actual problem here is that asynchronous generators don't control their 'asend' and 'athrow' coroutines in any way. So if you have two of them iterating *in parallel* they will cause their asynchronous generator to be in an inconsistent state.
The most obvious solution to this problem is to prohibit iterating 'asend'/'athrow' objects in parallel by throwing an exception.
Nathaniel, what are your thoughts on this? |
|
Date |
User |
Action |
Args |
2018-05-24 18:39:04 | yselivanov | set | recipients:
+ yselivanov, njs, chris.jerdonek, Dima.Tisnek, emilyemorehouse, jan.cespivo |
2018-05-24 18:39:04 | yselivanov | set | messageid: <1527187144.04.0.682650639539.issue30773@psf.upfronthosting.co.za> |
2018-05-24 18:39:04 | yselivanov | link | issue30773 messages |
2018-05-24 18:39:03 | yselivanov | create | |
|