Author Daniel Lepage2
Recipients Daniel Lepage2, eric.smith, remi.lapeyre, xtreak, Кирилл Чуркин
Date 2019-08-02.21:05:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564779902.71.0.667212438477.issue36077@roundup.psfhosted.org>
In-reply-to
Content
A simpler way to merge them would be to make all arguments after a default argument keyword-only, e.g.

__index__(self, i, j=0, *, k, l=0)

It does mean you'd have to explicitly write e.g. Child(1, k=4), but that's a lot more readable than seeing Child(1, 4) and wondering which field gets the 4.
History
Date User Action Args
2019-08-02 21:05:02Daniel Lepage2setrecipients: + Daniel Lepage2, eric.smith, remi.lapeyre, xtreak, Кирилл Чуркин
2019-08-02 21:05:02Daniel Lepage2setmessageid: <1564779902.71.0.667212438477.issue36077@roundup.psfhosted.org>
2019-08-02 21:05:02Daniel Lepage2linkissue36077 messages
2019-08-02 21:05:02Daniel Lepage2create