Message272540
| 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: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 |
|