summaryrefslogtreecommitdiff
path: root/Modules/atexitmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611)Marcel Plch2017-12-201-32/+40
| | | | Change atexit behavior and PEP-489 multiphase init support.
* bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (#2034)Serhiy Storchaka2017-06-121-1/+1
| | | The traceback no longer displayed for SystemExit raised in a callback registered by atexit.
* Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-1/+1
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | Removed unintentional trailing spaces in non-external and non-generated C files.Serhiy Storchaka2015-03-181-4/+4
| |
* | Issue #22869: Split pythonrun into two modulesNick Coghlan2014-11-201-1/+1
|/ | | | | | | - interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags
* Issue #18619: Fix atexit leaking callbacks registered from sub-interpreters, ↵Antoine Pitrou2013-08-011-42/+79
| | | | and make it GC-aware.
* Issue #11826: Fix memory leak in atexitmodule.Stefan Krah2012-03-271-1/+9
|
* Issue #10756: atexit normalizes the exception before displaying it.Victor Stinner2011-01-051-0/+1
|
* 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.