This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients
Date 2001-09-18.20:03:24
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=31435

Reassigned to me and closed as WontFix.  I confirmed with 
Guido that we have no bright ideas pending for worming 
around cases like this, and the import lock remains 
essential to prevent worse problems.  "Never write a 
module that spawns threads as a side effect of merely being 
imported" remains the only reliable workaround (e.g., spawn 
the threads from a module function called after the module 
import completes).

BTW, 2.2 will contain (& CVS Python already does) a new 
imp.lock_held() function, so you can determine whether the 
import lock is currently held.
History
Date User Action Args
2007-08-23 13:55:58adminlinkissue454843 messages
2007-08-23 13:55:58admincreate