Skip to content

bpo-37253: Document PyCompilerFlags.cf_feature_version#14019

Merged
vstinner merged 2 commits intopython:masterfrom
vstinner:compiler_flags_doc
Jun 13, 2019
Merged

bpo-37253: Document PyCompilerFlags.cf_feature_version#14019
vstinner merged 2 commits intopython:masterfrom
vstinner:compiler_flags_doc

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Jun 12, 2019

  • Update PyCompilerFlags structure documentation.
  • Document the new cf_feature_version field in the Changes in the C
    API section of the What's New in Python 3.8 doc.

https://bugs.python.org/issue37253

* Update PyCompilerFlags structure documentation.
* Document the new cf_feature_version field in the Changes in the C
  API section of the What's New in Python 3.8 doc.
@vstinner
Copy link
Copy Markdown
Member Author

I'm not sure if the new field must be documented, since it's ignored by default and used if and only if PyCF_ONLY_AST flag is used.

But PyCF_ONLY_AST flag must not be used in functions documented at:
https://docs.python.org/dev/c-api/veryhigh.html

@vstinner vstinner merged commit 2c9b498 into python:master Jun 13, 2019
@miss-islington
Copy link
Copy Markdown
Contributor

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

@vstinner vstinner deleted the compiler_flags_doc branch June 13, 2019 00:01
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 13, 2019
* Update PyCompilerFlags structure documentation.
* Document the new cf_feature_version field in the Changes in the C
  API section of the What's New in Python 3.8 doc.
(cherry picked from commit 2c9b498)

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

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

vstinner added a commit that referenced this pull request Jun 13, 2019
… (GH-14038)

* Update PyCompilerFlags structure documentation.
* Document the new cf_feature_version field in the Changes in the C
  API section of the What's New in Python 3.8 doc.

(cherry picked from commit 2c9b498)
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
* Update PyCompilerFlags structure documentation.
* Document the new cf_feature_version field in the Changes in the C
  API section of the What's New in Python 3.8 doc.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
* Update PyCompilerFlags structure documentation.
* Document the new cf_feature_version field in the Changes in the C
  API section of the What's New in Python 3.8 doc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants