Message5785

Author edd
Recipients edd
Date 2010-05-30.14:34:16
SpamBayes Score 5.5116783e-05
Marked as misclassified No
Message-id <1275230058.73.0.492697064364.issue1616@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2010-05-30 14:34:19eddsetrecipients: + edd
2010-05-30 14:34:18eddsetmessageid: <1275230058.73.0.492697064364.issue1616@psf.upfronthosting.co.za>
2010-05-30 14:34:18eddlinkissue1616 messages
2010-05-30 14:34:16eddcreate