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 aliases from pycore_ast.h#25256

Closed
vstinner wants to merge 1 commit into
python:masterpython/cpython:masterfrom
vstinner:py_funcsCopy head branch name to clipboard
Closed

bpo-43244: Remove aliases from pycore_ast.h#25256
vstinner wants to merge 1 commit into
python:masterpython/cpython:masterfrom
vstinner:py_funcsCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Apr 7, 2021

Copy link
Copy Markdown
Member

Remove macros creating aliases without prefix in pycore_ast.h. For
example, Module() becomes _Py_Module(). Update Grammar/python.gram to
only use _Py_xxx() functions.

https://bugs.python.org/issue43244

Remove macros creating aliases without prefix in pycore_ast.h. For
example, Module() becomes _Py_Module(). Update Grammar/python.gram to
only use _Py_xxx() functions.
@vstinner

vstinner commented Apr 7, 2021

Copy link
Copy Markdown
Member Author

This is a simplied variant of PR #25252 which also replaces _Py_ prefix with _PyAST_ prefix.

@vstinner

vstinner commented Apr 7, 2021

Copy link
Copy Markdown
Member Author

PR #25252 merged instead.

@vstinner vstinner closed this Apr 7, 2021
@vstinner vstinner deleted the py_funcs branch April 7, 2021 19:35
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.