]> granicus.if.org Git - python/commit
bpo-34523: Use _PyCoreConfig instead of globals (GH-9005)
authorVictor Stinner <vstinner@redhat.com>
Wed, 29 Aug 2018 22:50:45 +0000 (00:50 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Aug 2018 22:50:45 +0000 (00:50 +0200)
commitfbca90856d96273fd87c0b126f6e7966af7fbf7b
tree70be23311a03992573d5fb029acb03b208613440
parentde427556746aa41a8b5198924ce423021bc0c718
bpo-34523: Use _PyCoreConfig instead of globals (GH-9005)

Use the core configuration of the interpreter, rather
than using global configuration variables. For example, replace
Py_QuietFlag with core_config->quiet.
Include/pylifecycle.h
Include/pystate.h
Modules/main.c
Python/bltinmodule.c
Python/pylifecycle.c
Python/sysmodule.c