[Python-ideas] Re: PEP 671 (late-bound arg defaults), next round of discussion!

2022-09-16 Thread Michael Scott Cuthbert
Very late addition to these long threads -- I'm loving the proposal. I'm rather surprised though that the typing advantages of the pep have not been emphasized enough. I have a lot of code that in order to get correct typing in a strict mode does something like this: ``` def move_pitches(pitc

[Python-ideas] Re: PEP 671 (late-bound arg defaults), next round of discussion!

2022-09-16 Thread Chris Angelico
On Sat, 17 Sept 2022 at 09:40, Michael Scott Cuthbert wrote: > > Very late addition to these long threads -- I'm loving the proposal. I'm > rather surprised though that the typing advantages of the pep have not been > emphasized enough. That would be because I personally don't use that kind of