Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Feb 4, 2025

  • Replace PyImport_ImportModule() + PyObject_GetAttr() with PyImport_ImportModuleAttr().
  • Replace PyImport_ImportModule() + PyObject_GetAttrString() with PyImport_ImportModuleAttrString().

* Replace PyImport_ImportModule() + PyObject_GetAttr() with
  PyImport_ImportModuleAttr().
* Replace PyImport_ImportModule() + PyObject_GetAttrString() with
  PyImport_ImportModuleAttrString().
@vstinner vstinner merged commit dc804ff into python:main Feb 5, 2025
41 checks passed
@vstinner vstinner deleted the use_importattr branch February 5, 2025 10:04
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Feb 7, 2025
)

* Replace PyImport_ImportModule() + PyObject_GetAttr() with
  PyImport_ImportModuleAttr().
* Replace PyImport_ImportModule() + PyObject_GetAttrString() with
  PyImport_ImportModuleAttrString().
cmaloney pushed a commit to cmaloney/cpython that referenced this pull request Feb 8, 2025
)

* Replace PyImport_ImportModule() + PyObject_GetAttr() with
  PyImport_ImportModuleAttr().
* Replace PyImport_ImportModule() + PyObject_GetAttrString() with
  PyImport_ImportModuleAttrString().
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.

1 participant