Op 2004-12-12, Tim Peters schreef <[EMAIL PROTECTED]>:
>
> I think you'd have to ask Brett (who did most of the work on
> dummy_thread and dummy_threading).  It doesn't really matter, though: 
> it's a general truth that starting a thread as a side effect of
> importing is a recipe for deadlock, and hacking specific methods and
> functions to avoid imports just moves the problem around.  It's not a
> goal that anything in the standard Python library cater to bad thread
> practice here (the bad thread practice being, again, starting a thread
> as a side effect of importing).

I don't see why starting a thread as a side effect of importing is
bad thread practice. Sure python doesn't cater for it, but IMO
that seems to be python failing.

-- 
Antoon Pardon
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to