[Python-Dev] threading issue: preventing starting twice

Aahz aahz at pythoncraft.com
Wed Feb 25 14:48:37 EST 2004


On Wed, Feb 25, 2004, Russell E. Owen wrote:
>
> First of all, the documentation only says it is an error to start a 
> thread more than once. It does not say which exception is raised. On my 
> system I find it is AssertionError. So...is that going to be true on all 
> systems? Is the test based on "assert", in which case it will go away 
> for optimized code (and then what happens)?
> 
> Anyway, if it is always AssertionError, I'd like to get the docs updated 
> to say that.

File a doc bug.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Do not taunt happy fun for loops. Do not change lists you are looping over."
--Remco Gerlich, comp.lang.python



More information about the Python-Dev mailing list