Skip to content

gh-99300: Use Py_NewRef() in Python/ directory - #99317

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:newref_python2
Nov 10, 2022
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:newref_python2

Conversation

@vstinner

@vstinner vstinner commented Nov 10, 2022 •

Copy link
Copy Markdown
Member

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in C files of the Python/ directory.

Update Parser/asdl_c.py to regenerate Python/Python-ast.c.

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in C files of the Python/ directory.

Update Parser/asdl_c.py to regenerate Python/Python-ast.c.
@vstinner
vstinner merged commit 231d83b into python:main Nov 10, 2022
@vstinner
vstinner deleted the newref_python2 branch November 10, 2022 10:23
ethanfurman pushed a commit to ethanfurman/cpython that referenced this pull request Nov 12, 2022
Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in C files of the Python/ directory.

Update Parser/asdl_c.py to regenerate Python/Python-ast.c.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants