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

SourceForge.net noreply at sourceforge.net
Thu Oct 26 17:38:49 CEST 2006


Bugs item #1585135, was opened at 2006-10-26 14:50
Message generated for change (Settings changed) made by gbrandl
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: Closed
>Resolution: Invalid
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. 

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

Comment By: SpinMess (spinmess)
Date: 2006-10-26 15:34

Message:
Logged In: YES 
user_id=1630682

Bah. 
 
Never mind.  I mis-read the documentation. 

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

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