Title: threading.Condition.notify_all() is missing
Type: Severity: normal
Components: Library Versions: 2.5.1
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: akong, edd, pjenvey
Priority: Keywords:

Created on 2010-05-30.14:34:18 by edd, last changed 2010-06-03.02:28:42 by pjenvey.

msg5785 (view) Author: Edd (edd) Date: 2010-05-30.14:34:16
Condition objects from the threading module are missing notify_all() methods (though they do have notifyAll()):

Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_12
Type "help", "copyright", "credits" or "license" for more information.
>>> from threading import Condition
>>> dir(Condition())
['__class__', '__delattr__', '__doc__', '__enter__', '__exit__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', '_is_owned', 'acquire', 'notify', 'notifyAll', 'release', 'wait']

Presumably notify_all() is as least as important as it obeys PEP8 better than notifyAll().
msg5786 (view) Author: Anthony Kong (akong) Date: 2010-05-31.03:22:10
If you check the python official documentation, it mentioned that this module will provide PEP 8 compliant aliases and properties to replace the camelCase names   starting v2.6.

I suggest this ticket should be closed, as at least defered to 2.6
msg5788 (view) Author: Edd (edd) Date: 2010-05-31.13:23:21
Ah, I see it now. No argument from me then. Sorry for the noise!
msg5792 (view) Author: Philip Jenvey (pjenvey) Date: 2010-06-03.02:28:42
new in 2.6 indeed, closing out
Date User Action Args
2010-06-03 02:28:42pjenveysetstatus: open -> closed
resolution: invalid
messages: + msg5792
nosy: + pjenvey
2010-05-31 13:23:22eddsetmessages: + msg5788
2010-05-31 03:22:11akongsetnosy: + akong
messages: + msg5786
2010-05-30 14:34:18eddcreate