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 Matt Rasband
Recipients Matt Rasband, RekGRpth, chris.jerdonek, gvanrossum, yselivanov
Date 2017-08-18.13:32:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503063130.33.0.603918136048.issue28777@psf.upfronthosting.co.za>
In-reply-to
Content
I attempted this myself, it seemed to have too many costs associated for the stdlib and is something easy enough to wrap myself when I need this functionality with explicit semantics on how to "stop" the queue (using an `object()` sentinel). My implementation is flawed as the sentinel is global, instead of per queue instance, if you decide to use this at all.

See https://github.com/python/asyncio/pull/445
History
Date User Action Args
2017-08-18 13:32:10Matt Rasbandsetrecipients: + Matt Rasband, gvanrossum, chris.jerdonek, yselivanov, RekGRpth
2017-08-18 13:32:10Matt Rasbandsetmessageid: <1503063130.33.0.603918136048.issue28777@psf.upfronthosting.co.za>
2017-08-18 13:32:10Matt Rasbandlinkissue28777 messages
2017-08-18 13:32:10Matt Rasbandcreate