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 brandtbucher
Recipients brandtbucher, eric.smith, freundTech, gvanrossum
Date 2021-04-10.00:05:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618013148.73.0.410139072449.issue43764@roundup.psfhosted.org>
In-reply-to
Content
I just realized that in my first two examples, all that's really needed is a "del Child.__match_args__" following each class definition.

The main point still stands though: this may be a more common issue than I previously thought. If it is, then a dedicated kwarg to the dataclass decorator probably makes more sense than requiring users to "del" the generated attribute.
History
Date User Action Args
2021-04-10 00:05:48brandtbuchersetrecipients: + brandtbucher, gvanrossum, eric.smith, freundTech
2021-04-10 00:05:48brandtbuchersetmessageid: <1618013148.73.0.410139072449.issue43764@roundup.psfhosted.org>
2021-04-10 00:05:48brandtbucherlinkissue43764 messages
2021-04-10 00:05:48brandtbuchercreate