Because of multithreading semantics, this is not reliable.

OlafMeding at gmail.com OlafMeding at gmail.com
Wed May 3 17:26:53 EDT 2006


Tim and Grant

>>>
     if q.empty():
         return
>>>

Of course you explanation is understood and ideally should be included
as a note in the Python documentation.  And the "not reliable" should
be removed from the documentation!

Anyway, many thanks for your explanations (I feel "safer" now).

Olaf




More information about the Python-list mailing list