[Python-ideas] Re: Null wildcard in de-structuring to ignore remainder and stop iterating

2022-06-12 Thread Steve Jorgensen
I had actually not thought about the question of what should happen when performing multiple index operations on the same iterator, and maybe that's a reason that the idea of adding index lookup using brackets is not as good as it first seems. The whole point of adding that would be to reduce t

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

2022-06-12 Thread Bluenix
I stumbled upon PEP 671 again today, and for what it's worth I fully agree with everything said here. For the same reasons as you listed, I am generally opposed to PEP 671. Wrapping functions in one way or another is extremely common and this PEP will make a problem which is currently super sma

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

2022-06-12 Thread Chris Angelico
On Mon, 13 Jun 2022 at 06:20, Bluenix wrote: > > I stumbled upon PEP 671 again today, and for what it's worth I fully agree > with everything said here. > > For the same reasons as you listed, I am generally opposed to PEP 671. > Wrapping functions in one way or another is extremely common and t