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 eric.smith, superbobry
Date 2021-04-27.13:22:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619529758.61.0.601542546305.issue43953@roundup.psfhosted.org>
In-reply-to
Content
I'm not aware of what problems it would cause, but there's no doubt someone who's relying on it.

Since it's a behavior of normal classes, changing it would violate dataclasses desire (not always realized) to have as little impact as possible on the class that it's decorating.

You could add another decorator to do this, or handle it in a __post_init__ function if needed.
History
Date User Action Args
2021-04-27 13:22:38eric.smithsetrecipients: + eric.smith, superbobry
2021-04-27 13:22:38eric.smithsetmessageid: <1619529758.61.0.601542546305.issue43953@roundup.psfhosted.org>
2021-04-27 13:22:38eric.smithlinkissue43953 messages
2021-04-27 13:22:38eric.smithcreate