[Python-Dev] bug 754449 and threads raising exceptions at
interpreter teardown
Barry Warsaw
barry at python.org
Wed Feb 11 07:53:44 EST 2004
On Tue, 2004-02-10 at 19:44, Bill Janssen wrote:
> > So you are classifying this as a bug then. That was part of my question
> > since it only happens if you don't handle your threads properly (or at
> > least I think properly; I would assume it is common practice to close
> > down your threads).
>
> Really? I would assume it's common practice to let the garbage
> collector shut down your threads. After all, people don't handle
> errors either. Most code doesn't even check for them.
I don't trust the garbage collector to have any sane shutdown semantics,
especially regarding threads. In my own code, I always make the best
effort to shut threads (daemon or otherwise) down explicitly.
-Barry
More information about the Python-Dev
mailing list