| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| ZLIB_CRC32_COMBINE_METHODDEF | ||
| ZLIB_DECOMPRESS_METHODDEF | ||
| ZLIB_DECOMPRESSOBJ_METHODDEF | ||
| {"__getattr__", zlib_getattr, METH_VARARGS, "Module __getattr__"}, |
There was a problem hiding this comment.
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!
Sorry, something went wrong.
There was a problem hiding this comment.
I tried that too :-)
Sorry, something went wrong.
There was a problem hiding this comment.
Would this be a valid feature request for AC or it’s somehow impossible?
Sorry, something went wrong.
There was a problem hiding this comment.
I tried, and it is relatively straightforward (I based my implementation on METHOD_INIT's), here is a patch. I do not know if there was a reason for this not being done before, other than there not being a need, as it is explicitly in the unsupported list, maybe Victor knows more?
Sorry, something went wrong.
There was a problem hiding this comment.
I have no idea why it's not supported currently.
Sorry, something went wrong.
There was a problem hiding this comment.
What do you think about the patch?
Sorry, something went wrong.
There was a problem hiding this comment.
You can propose it as a PR.
Sorry, something went wrong.
There was a problem hiding this comment.
I opened #140376
Sorry, something went wrong.
|
Merged, thanks. I also saw that version but forgot to deprecate it :-) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
📚 Documentation preview 📚: https://cpython-previews--140130.org.readthedocs.build/