Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-106320: Remove private _PyModule API #107070

Merged
merged 1 commit into from
Jul 22, 2023
Merged

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
17 checks passed
@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