]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37253: Add _PyCompilerFlags_INIT macro (GH-14018)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 13 Jun 2019 00:36:03 +0000 (17:36 -0700)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2019 00:36:03 +0000 (17:36 -0700)
commit92e836c7dcaf74f7b8617250414224d24d1eb1f2
tree7744c1464030566c890df9b5fba0d1f6282f0ac8
parentc15a682603a47f5aef5025f6a2e3babb699273d6
bpo-37253: Add _PyCompilerFlags_INIT macro (GH-14018)

Add a new _PyCompilerFlags_INIT macro to initialize PyCompilerFlags
variables, rather than initializing cf_flags and cf_feature_version
explicitly in each variable.
(cherry picked from commit 37d66d7d4bc7dbac9809d69966a774ebb32563be)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Include/compile.h
Modules/main.c
Modules/parsermodule.c
Modules/symtablemodule.c
Python/ast.c
Python/bltinmodule.c
Python/compile.c
Python/pythonrun.c