summaryrefslogtreecommitdiffstats
path: root/Lib/atexit.py
Commit message (Collapse)AuthorAgeFilesLines
* Bug #128475: mimetools.encode (sometimes) fails when called from a thread.Tim Peters2001-01-211-2/+1
| | | | | | | | pythonrun.c: In Py_Finalize, don't reset the initialized flag until after the exit funcs have run. atexit.py: in _run_exitfuncs, mutate the list of pending calls in a threadsafe way. This wasn't a contributor to bug 128475, it just burned my eyeballs when looking at that bug.
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-201-0/+2
| | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
* Whitespace standardization.Tim Peters2001-01-141-3/+2
|
* Added the atexit module and documentation from Skip MontanaroFred Drake2000-06-281-0/+54
<skip@mojam.com>. Revisions to the markup to make it pass LaTeX, added an index entry and a reference from the sys.exitfunc documentation. This closes SourceForge patch #100620.