-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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-128911: Add PyImport_GetModuleAttrString() function #128912
base: main
Are you sure you want to change the base?
Conversation
Remove "pycore_import.h" includes, no longer needed.
TODO: Write tests. But |
* Add Modules/_testlimitedcapi/import.c * Add Lib/test/test_capi/test_import.py
I wrote #128915 to add these tests first. |
Done, I added tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me.
I created a C API Working Group decision issue: capi-workgroup/decisions#53 |
Remove "pycore_import.h" includes, no longer needed.
📚 Documentation preview 📚: https://cpython-previews--128912.org.readthedocs.build/