[issue42420] queue.Queue().join() add a timeout option

2020-11-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Marking this as a duplicate because it has come up before. -- nosy: +rhettinger resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Add timeout parameter to Queue.join() _

[issue42420] queue.Queue().join() add a timeout option

2020-11-20 Thread Gerhard van Andel
Change by Gerhard van Andel : -- keywords: +patch pull_requests: +22323 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23432 ___ Python tracker __

[issue42420] queue.Queue().join() add a timeout option

2020-11-20 Thread Gerhard van Andel
New submission from Gerhard van Andel : class Queue: def join(): ... # Can we add a timeout option to the join method on queue.Queue def join(timeout=None): '''Blocks until all items in the Queue have been gotten and processed. The count of unfinished tasks g