As noted in the review of #144420, the Python level implementation of special method lookup has heavy dependency, and we need to expose the C level function.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Activity
serhiy-storchaka commented on Feb 21, 2026
There were prior discussions in the mailing list, and other resources, but they did not came with concrete results.
This is not a minor feature, and it requires a discussion. How to name the function? In what module should it be added?
See also #62912.
tanloong commented on Feb 21, 2026
@serhiy-storchaka Thank you for the pointing! I didn't realize that this would be a non-trivial change. I'll open a discussion on Discourse.
tanloong commented on Feb 21, 2026
Created a topic for it: https://discuss.python.org/t/expose-special-method-lookup-at-python-level/106236