mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Parse more env vars in Py_Main(): * Add more options to _PyCoreConfig: * faulthandler * tracemalloc * importtime * Move code to parse environment variables from _Py_InitializeCore() to Py_Main(). This change fixes a regression from Python 3.6: PYTHONUNBUFFERED is now read before calling pymain_init_stdio(). * _PyFaulthandler_Init() and _PyTraceMalloc_Init() now take an argument to decide if the module has to be enabled at startup. * tracemalloc_start() is now responsible to check the maximum number of frames. Other changes: * Cleanup Py_Main(): * Rename some pymain_xxx() subfunctions * Add pymain_run_python() subfunction * Cleanup Py_NewInterpreter() * _PyInterpreterState_Enable() now reports failure * init_hash_secret() now considers pyurandom() failure as an "user error": don't fail with abort(). * pymain_optlist_append() and pymain_strdup() now sets err on memory allocation failure. |
||
|---|---|---|
| .. | ||
| _asynciomodule.c.h | ||
| _bz2module.c.h | ||
| _codecsmodule.c.h | ||
| _cryptmodule.c.h | ||
| _cursesmodule.c.h | ||
| _datetimemodule.c.h | ||
| _dbmmodule.c.h | ||
| _elementtree.c.h | ||
| _gdbmmodule.c.h | ||
| _hashopenssl.c.h | ||
| _lzmamodule.c.h | ||
| _opcode.c.h | ||
| _operator.c.h | ||
| _pickle.c.h | ||
| _sre.c.h | ||
| _ssl.c.h | ||
| _struct.c.h | ||
| _tkinter.c.h | ||
| _tracemalloc.c.h | ||
| _weakref.c.h | ||
| _winapi.c.h | ||
| arraymodule.c.h | ||
| audioop.c.h | ||
| binascii.c.h | ||
| cmathmodule.c.h | ||
| fcntlmodule.c.h | ||
| gcmodule.c.h | ||
| grpmodule.c.h | ||
| mathmodule.c.h | ||
| md5module.c.h | ||
| posixmodule.c.h | ||
| pwdmodule.c.h | ||
| pyexpat.c.h | ||
| resource.c.h | ||
| sha1module.c.h | ||
| sha256module.c.h | ||
| sha512module.c.h | ||
| signalmodule.c.h | ||
| spwdmodule.c.h | ||
| symtablemodule.c.h | ||
| unicodedata.c.h | ||
| zipimport.c.h | ||
| zlibmodule.c.h | ||