Skip to content

gh-106320: Remove private _PyModule API#107070

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:pycore_module
Jul 22, 2023
Merged

gh-106320: Remove private _PyModule API#107070
vstinner merged 1 commit intopython:mainfrom
vstinner:pycore_module

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jul 22, 2023

Move private _PyModule API to the internal C API
(pycore_moduleobject.h):

  • _PyModule_Clear()
  • _PyModule_ClearDict()
  • _PyModuleSpec_IsInitializing()
  • _PyModule_IsExtension()

No longer export these functions.

Move private _PyModule API to the internal C API
(pycore_moduleobject.h):

* _PyModule_Clear()
* _PyModule_ClearDict()
* _PyModuleSpec_IsInitializing()
* _PyModule_IsExtension()

No longer export these functions.
@vstinner vstinner enabled auto-merge (squash) July 22, 2023 21:14
@vstinner vstinner merged commit c1331ad into python:main Jul 22, 2023
@vstinner vstinner deleted the pycore_module branch July 22, 2023 21:42
jtcave pushed a commit to jtcave/cpython that referenced this pull request Jul 23, 2023
Move private _PyModule API to the internal C API
(pycore_moduleobject.h):

* _PyModule_Clear()
* _PyModule_ClearDict()
* _PyModuleSpec_IsInitializing()
* _PyModule_IsExtension()

No longer export these functions.
mementum pushed a commit to mementum/cpython that referenced this pull request Jul 23, 2023
Move private _PyModule API to the internal C API
(pycore_moduleobject.h):

* _PyModule_Clear()
* _PyModule_ClearDict()
* _PyModuleSpec_IsInitializing()
* _PyModule_IsExtension()

No longer export these functions.
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.

2 participants

Comments