Re: PEP 671: Syntax for late-bound function argument defaults

Dec. 2, 2021
2:45 a.m.
On Thu, Dec 2, 2021 at 12:42 PM David Lukeš <dafydd.lukes@gmail.com> wrote:
Oh yes, absolutely. Whether it's legal or not, referring to future arguments will always be frowned upon.
That's rather restricting, and it implies that there's a major difference in the way that functions would be defined ("late-bound default keyword-only arguments" would become a brand new type of argument) rather than a small difference in the way a function default is defined.
Not messed up, other than the fact that it's more change than I think this needs. :) ChrisA
1203
Age (days ago)
1203
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Angelico