-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
gh-76007: Deprecate zlib.__version__
attribute
#140130
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
Conversation
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.
LGTM
ZLIB_CRC32_COMBINE_METHODDEF | ||
ZLIB_DECOMPRESS_METHODDEF | ||
ZLIB_DECOMPRESSOBJ_METHODDEF | ||
{"__getattr__", zlib_getattr, METH_VARARGS, "Module __getattr__"}, |
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.
I tried to convert the function to Argument Clinic, but it failed, oh!
Error in file 'Modules/zlibmodule.c' on line 2019:
'__getattr__' is a special method and cannot be converted to Argument Clinic!
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.
I tried that too :-)
Merged, thanks. I also saw that version but forgot to deprecate it :-) |
📚 Documentation preview 📚: https://cpython-previews--140130.org.readthedocs.build/