
Dec. 1, 2021
3:50 p.m.
On 11/30/21 10:16 PM, Chris Angelico wrote:
*PEP 671: Syntax for late-bound function argument defaults*
Questions, for you all:
1) If this feature existed in Python 3.11 exactly as described, would you use it?
No.
2) Independently: Is the syntactic distinction between "=" and "=>" a cognitive burden?
Yes.
3) If "yes" to question 1, would you use it for any/all of (a) mutable defaults, (b) referencing things that might have changed, (c) referencing other arguments, (d) something else?
a, b, c
4) If "no" to question 1, is there some other spelling or other small change that WOULD mean you would use it? (Some examples in the PEP.)
Have the token/keyword be at the beginning instead of in the middle. -- ~Ethan~