cpython/Include/internal
Victor Stinner bf4ac2d2fd
bpo-35713: Rework Python initialization (GH-11647)
* The PyByteArray_Init() and PyByteArray_Fini() functions have been
  removed. They did nothing since Python 2.7.4 and Python 3.2.0, were
  excluded from the limited API (stable ABI), and were not
  documented.
* Move "_PyXXX_Init()" and "_PyXXX_Fini()" declarations from
  Include/cpython/pylifecycle.h to
  Include/internal/pycore_pylifecycle.h. Replace
  "PyAPI_FUNC(TYPE)" with "extern TYPE".
* _PyExc_Init() now returns an error on failure rather than calling
  Py_FatalError(). Move macros inside _PyExc_Init() and undefine them
  when done. Rewrite macros to make them look more like statement:
  add ";" when using them, add "do { ... } while (0)".
* _PyUnicode_Init() now returns a _PyInitError error rather than call
  Py_FatalError().
* Move stdin check from _PySys_BeginInit() to init_sys_streams().
* _Py_ReadyTypes() now returns a _PyInitError error rather than
  calling Py_FatalError().
2019-01-22 17:39:03 +01:00
..
pycore_accu.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00
pycore_atomic.h bpo-35758: Fix building on ARM + MSVC (gh-11531) 2019-01-21 21:49:40 +01:00
pycore_ceval.h bpo-35423: Stop using the "pending calls" machinery for signals. (gh-10972) 2019-01-11 14:26:55 -07:00
pycore_condvar.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00
pycore_context.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00
pycore_fileutils.h bpo-34523: Fix C locale coercion on FreeBSD CURRENT (GH-10672) 2018-11-23 13:08:26 +01:00
pycore_getopt.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00
pycore_gil.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00
pycore_hamt.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00
pycore_object.h bpo-35059: Add _PyObject_CAST() macro (GH-10645) 2018-11-22 02:57:29 +01:00
pycore_pathconfig.h bpo-34725: Adds _Py_SetProgramFullPath so embedders may override sys.executable (GH-9860) 2018-11-17 20:41:48 -08:00
pycore_pyhash.h bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53:38 +01:00
pycore_pylifecycle.h bpo-35713: Rework Python initialization (GH-11647) 2019-01-22 17:39:03 +01:00
pycore_pymem.h bpo-35081: Make some _PyGC macros internal (GH-10507) 2018-11-13 12:52:18 +01:00
pycore_pystate.h bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53:38 +01:00
pycore_tupleobject.h bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705) 2018-11-25 23:56:17 +01:00
pycore_warnings.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00