This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients SebastianSpeitel, eric.smith
Date 2021-04-28.09:43:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619603034.23.0.00101729566858.issue43965@roundup.psfhosted.org>
In-reply-to
Content
I'm open to suggestions on how this could be fixed, but I don't see how it's possible. I guess the best thing to do would be to fail if __init__() isn't the one that was generated by @dataclass. But that might be too pessimistic: the user could have provided a __init__() that does work with replace(), and such a change would start breaking that code.
History
Date User Action Args
2021-04-28 09:43:54eric.smithsetrecipients: + eric.smith, SebastianSpeitel
2021-04-28 09:43:54eric.smithsetmessageid: <1619603034.23.0.00101729566858.issue43965@roundup.psfhosted.org>
2021-04-28 09:43:54eric.smithlinkissue43965 messages
2021-04-28 09:43:54eric.smithcreate