Skip to content

object is still said to have __dict__ #14925

@wyattscarpenter

Description

@wyattscarpenter

As recently pointed out in python/typing#1835, the second problem in #132 is still around: object().__dict__ typechecks but fails at runtime.

Ten years ago, this was regarded as a reasonable, but not perfect, fix. #134. Can it be fixed better now?

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