8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
related CPython function: PyModule_GetState We are handling them with sometimes module attr and the other times static variable.
The text was updated successfully, but these errors were encountered:
Related CPython implementations:
https://github.com/python/cpython/blob/32f0c8271706550096c454eb512450b85fbfc320/Include/internal/pycore_moduleobject.h#L11-L29
https://github.com/python/cpython/blob/5fd8c574e016aec85725ddc5ced8742267b0e1b3/Modules/_sha3/sha3module.c#L42-L57
In C, module state are declared at each module as below:
typedef struct { PyObject * some_state; } _module_state;
And, a pointer to a module state is typically void *.
void *
Sorry, something went wrong.
No branches or pull requests
Summary
related CPython function: PyModule_GetState
We are handling them with sometimes module attr and the other times static variable.
Detailed Explanation
Drawbacks, Rationale, and Alternatives
Unresolved Questions
The text was updated successfully, but these errors were encountered: