]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36142: _PyPreConfig_Write() sets the allocator (GH-12186)
authorVictor Stinner <vstinner@redhat.com>
Tue, 5 Mar 2019 23:36:56 +0000 (00:36 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2019 23:36:56 +0000 (00:36 +0100)
commit7d2ef3ef5042356aaeaf832ad4204b7dad2e1b8c
treeb38d3476031398b85e041b8ac45f85d07a043b38
parenta9df651eb4c18a07ec309df190419613e95cba7b
bpo-36142: _PyPreConfig_Write() sets the allocator (GH-12186)

* _PyPreConfig_Write() now sets the memory allocator.
* _PyPreConfig_Write() gets a return type: _PyInitError.
* _Py_InitializeCore() now reads and writes the pre-configuration
  (set the memory allocator, configure the locale) before reading and
  writing the core configuration.
Include/internal/pycore_coreconfig.h
Modules/main.c
Python/preconfig.c
Python/pylifecycle.c