]> granicus.if.org Git - python/commit
bpo-35081: Move Py_BUILD_CORE code to internal/mem.h (GH-10249)
authorVictor Stinner <vstinner@redhat.com>
Wed, 31 Oct 2018 19:19:24 +0000 (20:19 +0100)
committerGitHub <noreply@github.com>
Wed, 31 Oct 2018 19:19:24 +0000 (20:19 +0100)
commit2be00d987d37682a55db67c298e82c405d01b868
treeeffedc3003c8a19764ba20f44a63501e66e58327
parentb08746bfdf64e55ce33516f2065fa2aa4f51be95
bpo-35081: Move Py_BUILD_CORE code to internal/mem.h (GH-10249)

* Add #include "internal/mem.h" to C files using
  _PyMem_SetDefaultAllocator().
* Include/internal/mem.h now requires Py_BUILD_CORE to be defined.
Include/internal/mem.h
Include/pymem.h
Modules/main.c
Objects/obmalloc.c
Python/coreconfig.c
Python/import.c
Python/pathconfig.c
Python/pylifecycle.c
Python/pystate.c
Python/sysmodule.c