[Python-3000] threading, part 2 (original) (raw)
Guido van Rossum guido at python.org
Wed Aug 16 02:23:42 CEST 2006
- Previous message: [Python-3000] threading, part 2
- Next message: [Python-3000] threading, part 2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.raiseexc(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/)
- Previous message: [Python-3000] threading, part 2
- Next message: [Python-3000] threading, part 2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]