This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Paulo Gabriel Poiati
Recipients Paulo Gabriel Poiati, docs@python
Date 2016-08-12.14:01:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471010461.03.0.586274907081.issue27747@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-08-12 14:01:01Paulo Gabriel Poiatisetrecipients: + Paulo Gabriel Poiati, docs@python
2016-08-12 14:01:01Paulo Gabriel Poiatisetmessageid: <1471010461.03.0.586274907081.issue27747@psf.upfronthosting.co.za>
2016-08-12 14:01:01Paulo Gabriel Poiatilinkissue27747 messages
2016-08-12 14:01:00Paulo Gabriel Poiaticreate