summaryrefslogtreecommitdiffstats
path: root/Modules/atexitmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #4200: Changed the atexit module to store its state in its PyModuleDef ↵Christian Heimes2008-10-301-50/+82
| | | | atexitmodule. This fixes a bug with multiple subinterpeters. The bug was found by Graham Dumpletom during his work on a 3.0 port of mod_wsgi. The patch has been reviewed by Benjamin.
* Fix for issue 3666 - atexit.register with bad inputs segfaults on exit.Skip Montanaro2008-09-231-6/+7
| | | | Reviewed by Christian Heimes.
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-4/+18
|
* missing docstringsSkip Montanaro2007-08-061-5/+23
|
* Address some XXXs from Neal Norwitz.Collin Winter2007-03-231-8/+19
|
* Little fixes:Neal Norwitz2007-03-211-8/+15
| | | | | | | | * make some module variables static to prevent name pollution * Add some comments to clarify what's going on and some XXXs to address * Add a space after "for" before ( * exc_value and tb can be NULL in some cases * Get working on Windows (I think)
* Patch #1680961: remove sys.exitfunc and replace it with a private C API. ↵Collin Winter2007-03-211-0/+217
Also, reimplement atexit in C so it can take advantage of this private API.