Message6160
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. |
|
Date |
User |
Action |
Args |
2007-08-23 13:55:58 | admin | link | issue454843 messages |
2007-08-23 13:55:58 | admin | create | |
|