[issue1175194] import statement likely to crash if module launches threads

Christian Heimes report at bugs.python.org
Sat Jan 19 15:42:33 CET 2008


Christian Heimes added the comment:

Don't spawn new threads at module level. An import must never trigger
the creation of a new thread. It's a design issue on your side.

But you can blame us for not documenting the issues with imports and
threads. ;)

----------
components: +Documentation
nosy: +tiran
resolution:  -> invalid
status: open -> pending
type:  -> behavior
versions: +Python 2.6 -Python 2.4

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1175194>
_____________________________________


More information about the Python-bugs-list mailing list