This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Events in list return None not True on wait()
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: spinmess
Priority: normal Keywords:

Created on 2006-10-26 14:50 by spinmess, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
threadtestBUG061026.py spinmess, 2006-10-26 14:50 sample code
Messages (2)
msg30398 - (view) Author: SpinMess (spinmess) Date: 2006-10-26 14:50
OS: Suse Linux 10.0 
Python 2.4.1 
After I call e.set() for some event e, subsequent 
calls to e.wait() return None instead of True.  This 
happens if & only if e is an element in a list.  As a 
workaround, I can test for e.wait()==None instead of 
e.wait() itself. 
 
I've attached sample code to demonstrate the bug. 
msg30399 - (view) Author: SpinMess (spinmess) Date: 2006-10-26 15:34
Logged In: YES 
user_id=1630682

Bah. 
 
Never mind.  I mis-read the documentation. 
History
Date User Action Args
2022-04-11 14:56:20adminsetgithub: 44169
2006-10-26 14:50:25spinmesscreate