Jimbo Jim <jimbo1...@gmail.com> added the comment:
first post in bugs.python.org... are people normally scary around here? Another usecase of keyword-only arguments is that I can mix default and non-default fields in any order. This could be achieved by either marking all fields as read-only, or by implicitly adding an asterisk before the first "conflicting" non-default argument (or by translating .../etc into an asterisk). (Is it a bad idea to create a private fork of `pip install dataclasses` with implicit asterisk, purely for my own project?) ---------- nosy: +Jimbo Jim _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33129> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com