]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36142: Add _PyPreConfig.allocator (GH-12181)
authorVictor Stinner <vstinner@redhat.com>
Tue, 5 Mar 2019 16:37:44 +0000 (17:37 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2019 16:37:44 +0000 (17:37 +0100)
commitb35be4b3334fbc471a39abbeb68110867b72e3e5
tree4c311249db97ae7ebc5d2cb9ed48791549512afe
parent359a2f3daba49fde0d3a07fb3c7a8b051c450d08
bpo-36142: Add _PyPreConfig.allocator (GH-12181)

* Move 'allocator' and 'dev_mode' fields from _PyCoreConfig
  to _PyPreConfig.
* Fix InitConfigTests of test_embed: dev_mode sets allocator to
  "debug", add a new tests for env vars with dev mode enabled.
Include/cpython/coreconfig.h
Lib/test/test_embed.py
Programs/_testembed.c
Python/coreconfig.c
Python/preconfig.c
Python/pylifecycle.c
Python/sysmodule.c