[Python-ideas] `__iter__` for queues?

cool-RR cool-rr at cool-rr.com
Wed Jan 20 12:59:40 CET 2010

On Wed, Jan 20, 2010 at 7:24 AM, Anh Hai Trinh <anh.hai.trinh at gmail.com>wrote:

> [...]
> I agree, however, that this should be left out of the stdlib API.
> --
> // aht

Okay, but what about having an object like `Queue.dump` (or some other name
instead of `dump`), which can be iterated? This will be similar to
`dict.keys` and `dict.values`.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100120/c43122b3/attachment.html>

More information about the Python-ideas mailing list