Skip to content

gh-106320: Remove private _PyImport C API functions - #106383

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:pycore_import
Jul 3, 2023
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:pycore_import

Conversation

@vstinner

@vstinner vstinner commented Jul 3, 2023 •

Copy link
Copy Markdown
Member
  • Remove private _PyImport C API functions: move them to the internal C API (pycore_import.h).
  • No longer export most of these private functions.
  • _testcapi avoids private _PyImport_GetModuleAttrString().
* Remove private _PyImport C API functions: move them to the internal
  C API (pycore_import.h).
* No longer export most of these private functions.
* _testcapi avoids private _PyImport_GetModuleAttrString().
@vstinner
vstinner enabled auto-merge (squash) July 3, 2023 22:53
@vstinner
vstinner merged commit 2e92edb into python:main Jul 3, 2023
@vstinner
vstinner deleted the pycore_import branch July 3, 2023 23:02
carljm added a commit to carljm/cpython that referenced this pull request Jul 4, 2023
* main:
  pythongh-106368: Increase Argument Clinic test coverage (python#106389)
  pythongh-106320: Fix _PyImport_GetModuleAttr() declaration (python#106386)
  pythongh-106368: Harden Argument Clinic parser tests (python#106384)
  pythongh-106320: Remove private _PyImport C API functions (python#106383)
  pythongh-86085: Remove _PyCodec_Forget() declaration (python#106377)
  pythongh-106320: Remove more private _PyUnicode C API functions (python#106382)
  pythongh-104050: Annotate more Argument Clinic DSLParser state methods (python#106376)
  pythongh-106368: Clean up Argument Clinic tests (python#106373)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants