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 dplepage
Recipients dplepage, 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:02dplepagesetrecipients: + dplepage, eric.smith, remi.lapeyre, xtreak, Кирилл Чуркин
2019-08-02 21:05:02dplepagesetmessageid: <1564779902.71.0.667212438477.issue36077@roundup.psfhosted.org>
2019-08-02 21:05:02dplepagelinkissue36077 messages
2019-08-02 21:05:02dplepagecreate