Skip to content

copy.replace support #713

Closed
Closed

Description

@layday

Description

Python 3.13 introduced the __replace__ dunder, exposed via copy.replace, as a generalised method through which to replace fields in immutable dataclass-likes. Would you be interested in supporting it in addition to msgspec.replace?

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions