Skip to content
This repository was archived by the owner on Sep 3, 2026. It is now read-only.
This repository was archived by the owner on Sep 3, 2026. It is now read-only.

using functools.partial as a class leads to spurious errors #322

Closed

Description

@rchen152

python/typeshed@e45f443 changed the definition of functools.partial from a class to a function. Things like isinstance() now cause spurious errors.

Activity

  1. tseaver commented on May 22, 2019

    @tseaver

    @rchen152 Per our discussion on googleapis/google-cloud-python#8106, I think it was the other way around (from a class / type to a function).

  2. tseaver commented on May 22, 2019

    @tseaver

    Oops, the relevant discussion is on googleapis/google-cloud-python#8097.

  3. rchen152 commented on May 22, 2019

    @rchen152
    ContributorAuthor

    You're absolutely right - fixed.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions