Message7539

Author irmen
Recipients irmen
Date 2012-11-27.23:26:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354058788.92.0.0803107360861.issue1994@psf.upfronthosting.co.za>
In-reply-to
Content
threading.Event class doesn't implement is_set method (which has been the new name for isSet since Python 2.6):

Jython 2.7.0a2+ (, nov 27 2012, 23:51:30)
[Java HotSpot(TM) Client VM (Oracle Corporation)] on java1.7.0_09
Type "help", "copyright", "credits" or "license" for more information.
>>> import threading
>>> e=threading.Event()
>>> e.is_set
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: '_Event' object has no attribute 'is_set'
>>> e.isSet
<bound method _Event.isSet of <threading._Event object at 0x2>>
>>>
History
Date User Action Args
2012-11-27 23:26:28irmensetrecipients: + irmen
2012-11-27 23:26:28irmensetmessageid: <1354058788.92.0.0803107360861.issue1994@psf.upfronthosting.co.za>
2012-11-27 23:26:28irmenlinkissue1994 messages
2012-11-27 23:26:28irmencreate