Skip to content

Expose special method lookup at Python level #144989

Open

Description

@tanloong

Feature or enhancement

Proposal:

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

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added
    type-feature
    on Feb 19, 2026
  2. added
    stdlib
    on Feb 19, 2026
  3. serhiy-storchaka commented on Feb 21, 2026

    @serhiy-storchaka
    Member

    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.

  4. tanloong commented on Feb 21, 2026

    @tanloong
    ContributorAuthor

    @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.

  5. tanloong commented on Feb 21, 2026

    @tanloong
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibtype-feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions