[Python-ideas] `__iter__` for queues?

Simon Brunning simon at brunningonline.net
Tue Jan 19 22:10:58 CET 2010


2010/1/19 cool-RR <cool-rr at cool-rr.com>:
> Is there a reason that queues don't have an `__iter__` method? I mean both
> `Queue.Queue` and `multiprocessing.Queue`.

Could it be made threadsafe?

-- 
Cheers,
Simon B.



More information about the Python-ideas mailing list