summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #23524: Replace _PyVerify_fd function with calls to ↵Steve Dower2015-04-121-4/+5
| | | | _set_thread_local_invalid_parameter_handler.
* fix building without threads (closes #23877)Benjamin Peterson2015-04-061-0/+4
|
* Issue #22117: Add a new _PyTime_FromSeconds() functionVictor Stinner2015-04-031-3/+3
| | | | | Fix also _Py_InitializeEx_Private(): initialize time before initializing import, import_init() uses the _PyTime API (for thread locks).
* (Merge 3.4) Issue #23571: Fix reentrant call to Py_FatalError()Victor Stinner2015-03-251-17/+28
| | | | | | Flushing sys.stdout and sys.stderr in Py_FatalError() can call again Py_FatalError(). Add a reentrant flag to detect this case and just abort at the second call.
* (Merge 3.4) Issue #23571: Py_FatalError() now tries to flush sys.stdout andVictor Stinner2015-03-241-4/+26
| | | | | | | sys.stderr It should help to see exceptions when stderr if buffered: PyErr_Display() calls sys.stderr.write(), it doesn't write into stderr file descriptor directly.
* (Merge 3.4) Issue #23571: Enhance Py_FatalError()Victor Stinner2015-03-241-13/+59
| | | | | | | | | * Display the current Python stack if an exception was raised but the exception has no traceback * Disable faulthandler if an exception was raised (before it was only disabled if no exception was raised) * To display the current Python stack, call PyGILState_GetThisThreadState() which works even if the GIL was released
* Fixed few compiler warnings.Serhiy Storchaka2015-02-161-1/+1
|
* Closes #22869: Move PyOS_CheckStack back to pythonrun.cZachary Ware2014-11-221-38/+0
|
* Issue #22869: Split pythonrun into two modulesNick Coghlan2014-11-201-0/+1540
- interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags