Message272540
I believe the code example at https://docs.python.org/3.6/library/queue.html is broken. The break condition in the worker loop (when the queued value is None) must call the `task_done` before breaking, otherwise the code blocks indefinitely in the `queue.join()` statement. |
|
Date |
User |
Action |
Args |
2016-08-12 14:01:01 | Paulo Gabriel Poiati | set | recipients:
+ Paulo Gabriel Poiati, docs@python |
2016-08-12 14:01:01 | Paulo Gabriel Poiati | set | messageid: <1471010461.03.0.586274907081.issue27747@psf.upfronthosting.co.za> |
2016-08-12 14:01:01 | Paulo Gabriel Poiati | link | issue27747 messages |
2016-08-12 14:01:00 | Paulo Gabriel Poiati | create | |
|