Skip to content

No stubs for wrapper/descriptor types #3064

Closed

Description

@CraftSpider

The types.py file has four types, listed below, that don't have any stubs at all. At least one of these is used in the inspect modules, and the lack of these stubs makes writing more reflection code and such quite annoying.

  • WrapperDescriptorType
  • MethodWrapperType
  • MethodDescriptorType
  • ClassMethodDescriptorType

I'd be willing to make and PR a fix, if others agree that these types should be added.

Activity

  1. JelleZijlstra commented on Jun 17, 2019

    @JelleZijlstra
    Member

    We should definitely add these. Patches are welcome!

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions