Threading unfairness

Peter Hansen peter at engcorp.com
Tue May 21 07:57:48 EDT 2002


David LeBlanc wrote (top-posting...David, please don't top-post):
> 
> hehehe
> 
> We'd have to call it thread.giveitup() since, in spite of my arguments to
> the contrary, "yield" now has different semantics in Python then in most
> other languages/libraries that support the keyword.

Alternatively, we could use threading.Thread.yield_(), in keeping with the 
ugly precedent established with unittest.TestCase.assert_() and the 
recently discussed poplib.POP3.pass_() methods.

-Peter



More information about the Python-list mailing list