when called by atexit thanks to dummy_thread always returning -1 for
dummy_thread.get_ident(). Since exception was not an issue, it is now caught
and tossed.
Closes bug #993394.
NoneType if an exception in a thread was raised during interpreter shutdown.
This led to a masking of the initial exception (not good). All fixed (good).
Closes bug #754449 (using both patch #954922 and a backport of rev. 1.41 from
HEAD).
interrupted. A try/finally will do nicely. Maybe other classes need
this too, but since they manipulate more state it's less clear that
that is always the right thing, and I'm in a hurry.
Backport candidate.
the finally clause. An exception here could happen when a daemon
thread exits after the threading module has already been trashed by
the import finalization, and there's not much of a point in trying to
insist doing the cleanup in that stage.
This should fix SF bug ##497111: active_limbo_lock error at program
exit.
2.1.2 and 2.2.1 Bugfix candidate!