Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Note we already have the task_done() / join() API to handle the common case of 
notification for when work is done.  At one point, Guido opined that he didn't 
want the queue module to go any further into the world of task management 
(because it is beyond the scope of what the module is trying to do).

Also, because this is a significant expansion of an otherwise simple API and 
because it would establish new idioms, it would need to be discussed on 
python-ideas before going forward.  Also, to evaluate the proposal, it would be 
help to have examples of existing code that would be improved with the new API. 
 Likewise, it would be helpful to survey other languages to see if they have 
anything like this and see whether their experiences were possible or negative.

If the python-ideas discussion is fruitful, feel free to re-open this feature 
request.  The existence of the PR will help make the discussion more concrete 
and give people a chance to try it out.

----------
assignee:  -> rhettinger
nosy: +pitrou, rhettinger, tim.peters
resolution:  -> later
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35034>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to