This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients Dima.Tisnek, chris.jerdonek, emilyemorehouse, jan.cespivo, njs, yselivanov
Date 2018-05-24.18:39:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:04yselivanovsetrecipients: + yselivanov, njs, chris.jerdonek, Dima.Tisnek, emilyemorehouse, jan.cespivo
2018-05-24 18:39:04yselivanovsetmessageid: <>
2018-05-24 18:39:04yselivanovlinkissue30773 messages
2018-05-24 18:39:03yselivanovcreate