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 brandtbucher, eric.smith, freundTech, gvanrossum
Date 2021-04-10.00:20:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618014055.75.0.82527325937.issue43764@roundup.psfhosted.org>
In-reply-to
Content
Hmm, good point on the inheritance case. I'd forgotten that this is where init=False and others would come in handy. Although I'm having a hard time figuring out why you'd want a derived class that adds fields but wants to use the parent's __match_args__ (or __init__, for that matter), but I guess it's possible.

I don't like del Child.__match_args__. The same pattern could be used for init=False, after all, but there's a parameter for that.
History
Date User Action Args
2021-04-10 00:20:55eric.smithsetrecipients: + eric.smith, gvanrossum, brandtbucher, freundTech
2021-04-10 00:20:55eric.smithsetmessageid: <1618014055.75.0.82527325937.issue43764@roundup.psfhosted.org>
2021-04-10 00:20:55eric.smithlinkissue43764 messages
2021-04-10 00:20:55eric.smithcreate