On 8/11/06, Jason Orendorff <[EMAIL PROTECTED]> wrote:
> On 8/11/06, tomer filiba <[EMAIL PROTECTED]> wrote:
> > why is thread.raise_exc(id, excobj) a bad API?
>
> It breaks seemingly innocent code in subtle ways.  Worse, the breakage
> will always be a race condition, so it'll be especially hard to
> reproduce and debug.

So is KeyboardInterrupt. But at least that can't be raised in threads.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to