Skip to content

Investigate Selector.__hash__ implementation #156

Description

@mzorzo

Context

This issue came up during the review of the mypy-related changes in PR #140.

Summary

Selector currently defines __hash__ = None, making instances unhashable.

While updating the type annotations, we kept this behavior unchanged because it's not clear whether this was an intentional design decision or whether Selector should implement a proper __hash__ method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions