Message390682
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. |
|
Date |
User |
Action |
Args |
2021-04-10 00:20:55 | eric.smith | set | recipients:
+ eric.smith, gvanrossum, brandtbucher, freundTech |
2021-04-10 00:20:55 | eric.smith | set | messageid: <1618014055.75.0.82527325937.issue43764@roundup.psfhosted.org> |
2021-04-10 00:20:55 | eric.smith | link | issue43764 messages |
2021-04-10 00:20:55 | eric.smith | create | |
|