Eric V. Smith <e...@trueblade.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43764> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com