[ python-Bugs-1585135 ] Events in list return None not True on wait()

SourceForge.net noreply at sourceforge.net
Thu Oct 26 16:50:26 CEST 2006


Bugs item #1585135, was opened at 2006-10-26 10:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1585135&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: SpinMess (spinmess)
Assigned to: Nobody/Anonymous (nobody)
Summary: Events in list return None not True on wait()

Initial Comment:
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. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1585135&group_id=5470


More information about the Python-bugs-list mailing list