Bug #1566280: Explicitly invoke threading._shutdown from Py_Main,
to avoid relying on atexit.
3 files changed