Nick Coghlan
d600951748
Issue #22869 : Split pythonrun into two modules
...
- interpreter startup and shutdown code moved to a new
pylifecycle.c module
- Py_OptimizeFlag moved into the new module with the other
global flags
2014-11-20 21:39:37 +10:00
Antoine Pitrou
2d350fd8af
Issue #18619 : Fix atexit leaking callbacks registered from sub-interpreters, and make it GC-aware.
2013-08-01 20:56:12 +02:00
Stefan Krah
650365b163
Issue #11826 : Fix memory leak in atexitmodule.
2012-03-27 11:49:21 +02:00
Victor Stinner
358e11d928
Issue #10756 : atexit normalizes the exception before displaying it.
2011-01-05 03:54:25 +00:00
Christian Heimes
9c94ba4e7d
Issue #4200 : Changed the atexit module to store its state in its PyModuleDef 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.
2008-10-30 21:34:02 +00:00
Skip Montanaro
711552bb40
Fix for issue 3666 - atexit.register with bad inputs segfaults on exit.
...
Reviewed by Christian Heimes.
2008-09-23 00:52:29 +00:00
Martin v. Löwis
1a21451b1d
Implement PEP 3121: new module initialization and finalization API.
2008-06-11 05:26:20 +00:00
Skip Montanaro
28a181cbe8
missing docstrings
2007-08-06 20:59:28 +00:00
Collin Winter
3e81ec8c7c
Address some XXXs from Neal Norwitz.
2007-03-23 22:46:49 +00:00
Neal Norwitz
7d71fb8132
Little fixes:
...
* 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)
2007-03-21 04:45:04 +00:00
Collin Winter
670e692134
Patch #1680961 : remove sys.exitfunc and replace it with a private C API. Also, reimplement atexit in C so it can take advantage of this private API.
2007-03-21 02:57:17 +00:00