[docs] [issue12767] document threading.Condition.notify

R. David Murray report at bugs.python.org
Wed Aug 17 13:09:12 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

>From a quick look at the code and docs I suspect that 'n' is an internal implementation detail and not meant to be exposed.  Is there an use case for notifying waiters where n!=1 and n!=len(waiters)?  If my speculation is correct it might be a good idea to refactor this so that notify itself does not take an argument but instead both it an notify_all call an explicitly internal routine _notify.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12767>
_______________________________________


More information about the docs mailing list