Message300496
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 |
|
Date |
User |
Action |
Args |
2017-08-18 13:32:10 | Matt Rasband | set | recipients:
+ Matt Rasband, gvanrossum, chris.jerdonek, yselivanov, RekGRpth |
2017-08-18 13:32:10 | Matt Rasband | set | messageid: <1503063130.33.0.603918136048.issue28777@psf.upfronthosting.co.za> |
2017-08-18 13:32:10 | Matt Rasband | link | issue28777 messages |
2017-08-18 13:32:10 | Matt Rasband | create | |
|