cpython/Include/internal
Victor Stinner 1a6be91e6f
bpo-35081: Make some _PyGC macros internal (GH-10507)
* Move "GC" macros together:

  * PyObject_IS_GC()
  * _Py_AS_GC()
  * _PyObject_GC_IS_TRACKED()
  * _PyObject_GC_MAY_BE_TRACKED()

* Mark other GC macros as internal (#ifdef Py_BUILD_CORE):

  * _PyGCHead_NEXT(g), _PyGCHead_SET_NEXT(g, p)
  * _PyGCHead_PREV(g), _PyGCHead_SET_PREV(g, p)
  * _PyGCHead_FINALIZED(g), _PyGCHead_SET_FINALIZED(g)
  * _PyGC_FINALIZED(o), _PyGC_SET_FINALIZED(o)
  * _PyObject_GC_TRACK(o), _PyObject_GC_UNTRACK(o)
  * _PyGC_PREV_MASK_FINALIZED
  * _PyGC_PREV_MASK_COLLECTING
  * _PyGC_PREV_SHIFT
  * _PyGC_PREV_MASK

* Replace _PyGC_generation0 with _PyRuntime.gc.generation0
* _queuemodule.c: replace _PyObject_GC_UNTRACK()
  with with PyObject_GC_UnTrack()
* Document that  _PyObject_GC_TRACK() _PyObject_GC_UNTRACK() macros
  have been removed from the public C API.
2018-11-13 12:52:18 +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-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00
pycore_ceval.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01: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-35081: Add pycore_fileutils.h (GH-10371) 2018-11-07 00:44:03 +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_pathconfig.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00
pycore_pyhash.h bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53:38 +01:00
pycore_pylifecycle.h bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53:38 +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_warnings.h bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) 2018-11-09 13:03:37 +01:00