From: Edd <re...@bu...> - 2010-05-30 14:34:34
|
New submission from Edd <si...@mr...>: 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(). ---------- components: Library messages: 5785 nosy: edd severity: normal status: open title: threading.Condition.notify_all() is missing versions: 2.5.1 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1616> _______________________________________ |