Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Jul 3, 2023

  • 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().
@vstinnervstinner enabled auto-merge (squash) July 3, 2023 22:53
@vstinnervstinner merged commit 2e92edb into python:mainJul 3, 2023
@vstinnervstinner 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@bedevere-bot