A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-February/042519.html below:

[Python-Dev] bug 754449 and threads raising exceptions at interpreter teardown

[Python-Dev] bug 754449 and threads raising exceptions at interpreter teardown [Python-Dev] bug 754449 and threads raising exceptions at interpreter teardownBarry 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4