Skip to content

Allow cache_hash=True to be used when a custom __setstate__ is present #494

@gabbard

Description

@gabbard

This is not currently possible (as of the merge of #489 ) because when cache_hash=True, we solve #482 by adding a __setstate__ to all classes which clears the cached hash code.

This is a somewhat unusual combination of needs, so I imagine this is very low priority. This issue is just here as a marker for anyone who runs into this problem in the future.

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