`copy.replace` support
layday opened this issue · comments
layday commented
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 attrs' own evolve
?
Hynek Schlawack commented
Yeah, that sounds super cool!