[Python-ideas] `__iter__` for queues?
cool-RR
cool-rr at cool-rr.com
Tue Jan 19 21:29:18 CET 2010
Hello,
Is there a reason that queues don't have an `__iter__` method? I mean both
`Queue.Queue` and `multiprocessing.Queue`.
I had to write up my own "iterate on queue" function for use in my project.
Do you think that it should be a built-in method on the Queue class?
Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100119/14f9dd0e/attachment.html>
More information about the Python-ideas
mailing list