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 spenczar
Recipients asvetlov, kj, spenczar, yselivanov
Date 2021-02-04.17:49:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for testing on more Python versions.

Yes, adding asyncio.sleep(0) after each put is an effective workaround - it's certainly possible to manually yield like that. I just think that that's what asyncio.Queue.put ought to be doing - in fact, that's my proposed change in the associated PR:

I suppose that, more broadly, I would have expected that _any_ `await f()` call would be a preemptible point, but I think that's a much, much larger discussion.
Date User Action Args
2021-02-04 17:49:27spenczarsetrecipients: + spenczar, asvetlov, yselivanov, kj
2021-02-04 17:49:27spenczarsetmessageid: <>
2021-02-04 17:49:27spenczarlinkissue43119 messages
2021-02-04 17:49:27spenczarcreate