[Python-3000] threading, part 2
Guido van Rossum
guido at python.org
Wed Aug 16 02:23:42 CEST 2006
On 8/11/06, Jason Orendorff <jason.orendorff at gmail.com> wrote:
> On 8/11/06, tomer filiba <tomerfiliba at gmail.com> 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/)
More information about the Python-3000