FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-106521: Remove _PyObject_LookupAttr() function by serhiy-storchaka · Pull Request #106642 · python/cpython · GitHub

Repository navigation

gh-106521: Remove _PyObject_LookupAttr() function - #106642

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:rename-_PyObject_LookupAttr
Jul 12, 2023
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:rename-_PyObject_LookupAttr

Conversation

serhiy-storchaka commented Jul 11, 2023 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

It is an automatic replace in C files and Parser/asdl_c.py.

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

You may change the change title to "Remove _PyObject_LookupAttr() function". In practice (in terms of C API), this change removes the function, since the previous change added a new function. I'm fine with removing private functions, but it seems like @encukou started to have concerns about such removals in Python 3.13 C API: see #106320

serhiy-storchaka changed the title gh-106521: Replace _PyObject_LookupAttr with PyObject_GetOptionalAttr in code gh-106521: Remove _PyObject_LookupAttr() function Jul 12, 2023
serhiy-storchaka merged commit be1b968 into python:main Jul 12, 2023
serhiy-storchaka deleted the rename-_PyObject_LookupAttr branch July 12, 2023 05:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

5 participants


Back | FazBrowse Home | New Git URL