Message7539
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>>
>>> |
|
Date |
User |
Action |
Args |
2012-11-27 23:26:28 | irmen | set | recipients:
+ irmen |
2012-11-27 23:26:28 | irmen | set | messageid: <1354058788.92.0.0803107360861.issue1994@psf.upfronthosting.co.za> |
2012-11-27 23:26:28 | irmen | link | issue1994 messages |
2012-11-27 23:26:28 | irmen | create | |
|