Join GitHub today
bpo-35438: Remove the usage of _PyObject_LookupSpecial from Modules #11082
Cleanup the use of the internal API _PyObject_LookupSpecial in CPython Modules. This function is just a wrapper around _PyType_Lookup which as the implementation says it's an: "Internal API".
This is a nice cleanup on a bad use of the C-API (more on that documented here: https://pythoncapi.readthedocs.io/bad_api.html).