Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-43244: Remove Yield macro from pycore_ast.h#25243

Merged
vstinner merged 3 commits into
python:masterpython/cpython:masterfrom
vstinner:ast_yieldCopy head branch name to clipboard
Apr 7, 2021
Merged

bpo-43244: Remove Yield macro from pycore_ast.h#25243
vstinner merged 3 commits into
python:masterpython/cpython:masterfrom
vstinner:ast_yieldCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Apr 7, 2021

Copy link
Copy Markdown
Member
  • pycore_ast.h no longer defines the Yield macro.
  • Fix a compiler warning on Windows: "warning C4005: 'Yield': macro
    redefinition".
  • Python-ast.c now defines directly functions with their real
    _Py_xxx() name, rather than xxx().
  • Remove "#undef Yield" in C files including pycore_ast.h.

https://bugs.python.org/issue43244

* pycore_ast.h no longer defines the Yield macro.
* Fix a compiler warning on Windows: "warning C4005: 'Yield': macro
  redefinition".
* Python-ast.c now defines directly functions with their real
  _Py_xxx() name, rather than xxx().
* Remove "#undef Yield" in C files including pycore_ast.h.
@vstinner vstinner merged commit d36d6a9 into python:master Apr 7, 2021
@vstinner vstinner deleted the ast_yield branch April 7, 2021 11:01
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.