Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Apr 7, 2021

  • 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