Skip to content

Investigate how Python programs integrate with builtin types written in C #17

Description

@wunused

For example, in the following program:

class MyTuple(tuple):
    pass

MyTuple inherits from the builtin tuple, which is implemented in C.

What connects the tuple builtin with its C implementation? Where are the methods of a tuple object defined, so that we can figure out what the inherited methods of MyTuple are?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions