Not fully understanding the role of Queue.task_done()

Martin DeMello martindemello at gmail.com
Thu Sep 4 16:08:38 EDT 2008


On Sep 4, 1:04 pm, castironpi <castiro... at gmail.com> wrote:
>
> Random access isn't supported by the defined interface.  You can make
> it more convenient, though.

Thanks. I wasn't looking for random access, just wondering what the
cleanest way to implement items = Queue.get_all() was. Your code
should work nicely for that.

martin



More information about the Python-list mailing list