Message254773
When maxsize is set on a JoinableQueue/Queue and the queue is full (maxsize <= len(queue)) _put is called rather than __put_internal.
__put_internal increments _unfinished_tasks but _put does not.
Whenever using maxsize in a Queue calling task_done will almost always cause a ValueError('task_done() called too many times'). |
|
Date |
User |
Action |
Args |
2015-11-17 00:37:33 | Chris Seto | set | recipients:
+ Chris Seto, gvanrossum, vstinner, yselivanov |
2015-11-17 00:37:33 | Chris Seto | set | messageid: <1447720653.5.0.538430267197.issue25642@psf.upfronthosting.co.za> |
2015-11-17 00:37:33 | Chris Seto | link | issue25642 messages |
2015-11-17 00:37:33 | Chris Seto | create | |
|