Serhiy Storchaka
d89dc844d2
[3.6] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) ( #2121 )
...
The traceback no longer displayed for SystemExit raised in a callback registered by atexit..
(cherry picked from commit 3fd54d4a7e
)
2017-06-12 09:02:13 +03:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
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.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka
009b811d67
Removed unintentional trailing spaces in non-external and non-generated C files.
2015-03-18 21:53:15 +02:00
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