Skip to content

bpo-37253: Add _PyCompilerFlags_INIT macro#14018

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:compiler_flags_init
Jun 13, 2019
Merged

bpo-37253: Add _PyCompilerFlags_INIT macro#14018
vstinner merged 1 commit intopython:masterfrom
vstinner:compiler_flags_init

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Jun 12, 2019

Add a new _PyCompilerFlags_INIT macro to initialize PyCompilerFlags
variables, rather than initializing cf_flags and cf_feature_version
explicitly in each variable.

https://bugs.python.org/issue37253

Add a new _PyCompilerFlags_INIT macro to initialize PyCompilerFlags
variables, rather than initializing cf_flags and cf_feature_version
explicitly in each variable.
@vstinner
Copy link
Copy Markdown
Member Author

Since the added macro is private, I chose to not document it and omit a NEWS entry.

@vstinner vstinner merged commit 37d66d7 into python:master Jun 13, 2019
@vstinner vstinner deleted the compiler_flags_init branch June 13, 2019 00:16
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 13, 2019
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 37d66d7)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
@bedevere-bot
Copy link
Copy Markdown

GH-14037 is a backport of this pull request to the 3.8 branch.

miss-islington added a commit that referenced this pull request Jun 13, 2019
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 37d66d7)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
Add a new _PyCompilerFlags_INIT macro to initialize PyCompilerFlags
variables, rather than initializing cf_flags and cf_feature_version
explicitly in each variable.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Add a new _PyCompilerFlags_INIT macro to initialize PyCompilerFlags
variables, rather than initializing cf_flags and cf_feature_version
explicitly in each variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants