[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Paul Moore
On Mon, 7 Mar 2022 at 23:44, Chris Angelico wrote: > Not ALL typing changes are just new things in typing.py, so that > doesn't cover everything. And yes, I am sure that a lot of things get > proposed and not implemented - my point is that typing-sig is > successfully finding the good ideas and

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Brendan Barnwell
On 2022-03-07 21:32, Stephen J. Turnbull wrote: Brendan Barnwell writes: > I would be happier if fewer typing-related changes made it in. I'm curious: do you use type annotations yourself? If yes, do you just prefer minimal hints to a precise typing system, or have there been changes that

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Chris Angelico
On Tue, 8 Mar 2022 at 15:37, Brendan Barnwell wrote: > > On 2022-03-07 15:32, Chris Angelico wrote: > > On Tue, 8 Mar 2022 at 10:20, Brendan Barnwell wrote: > >> > >> On 2022-03-06 14:43, Chris Angelico wrote: > >> > This keeps happening. All the successful ideas seem to happen > >> > elsewhere,

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Stephen J. Turnbull
Brendan Barnwell writes: > I would be happier if fewer typing-related changes made it in. I'm curious: do you use type annotations yourself? If yes, do you just prefer minimal hints to a precise typing system, or have there been changes that are actually harmful in your opinion?

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread David Mertz, Ph.D.
As someone else noted, few of the ideas originating on typing-sig are for syntax changes. One might argue that some are "abuse of notation." Generally they are of the sort "let's support indexing or bitwise operators on some more types" or let's let more builtin things act as types in

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Finn Mason
On Mon, Mar 7, 2022, 9:12 PM Jelle Zijlstra wrote: > > > El lun, 7 mar 2022 a las 19:57, Christopher Barker () > escribió: > >> On Mon, Mar 7, 2022 at 3:43 PM Chris Angelico wrote: >> >>> On Tue, 8 Mar 2022 at 10:39, Jelle Zijlstra >>> wrote: >>> > >>> > >>> > >>> > El lun, 7 mar 2022 a las

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Brendan Barnwell
On 2022-03-07 15:32, Chris Angelico wrote: On Tue, 8 Mar 2022 at 10:20, Brendan Barnwell wrote: On 2022-03-06 14:43, Chris Angelico wrote: > This keeps happening. All the successful ideas seem to happen > elsewhere, notably on typing-sig. You seem to see that as a positive thing, but

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Chris Angelico
On Tue, 8 Mar 2022 at 15:10, Jelle Zijlstra wrote: > > > > El lun, 7 mar 2022 a las 19:57, Christopher Barker () > escribió: >> >> On Mon, Mar 7, 2022 at 3:43 PM Chris Angelico wrote: >>> >>> On Tue, 8 Mar 2022 at 10:39, Jelle Zijlstra >>> wrote: >>> > >>> > >>> > >>> > El lun, 7 mar 2022 a

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Jelle Zijlstra
El lun, 7 mar 2022 a las 19:57, Christopher Barker () escribió: > On Mon, Mar 7, 2022 at 3:43 PM Chris Angelico wrote: > >> On Tue, 8 Mar 2022 at 10:39, Jelle Zijlstra >> wrote: >> > >> > >> > >> > El lun, 7 mar 2022 a las 15:35, Chris Angelico () >> escribió: >> >but python-ideas is 100%

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Christopher Barker
On Mon, Mar 7, 2022 at 3:43 PM Chris Angelico wrote: > On Tue, 8 Mar 2022 at 10:39, Jelle Zijlstra > wrote: > > > > > > > > El lun, 7 mar 2022 a las 15:35, Chris Angelico () > escribió: > >but python-ideas is 100% shooting ideas to pieces. 100% really? Maybe my sense of time is blurred, but

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Chris Angelico
On Tue, 8 Mar 2022 at 10:39, Jelle Zijlstra wrote: > > > > El lun, 7 mar 2022 a las 15:35, Chris Angelico () escribió: >> >> On Tue, 8 Mar 2022 at 10:20, Brendan Barnwell wrote: >> > >> > On 2022-03-06 14:43, Chris Angelico wrote: >> > > This keeps happening. All the successful ideas seem to

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Jelle Zijlstra
El lun, 7 mar 2022 a las 15:35, Chris Angelico () escribió: > On Tue, 8 Mar 2022 at 10:20, Brendan Barnwell > wrote: > > > > On 2022-03-06 14:43, Chris Angelico wrote: > > > This keeps happening. All the successful ideas seem to happen > > > elsewhere, notably on typing-sig. > > > > You

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Chris Angelico
On Tue, 8 Mar 2022 at 10:20, Brendan Barnwell wrote: > > On 2022-03-06 14:43, Chris Angelico wrote: > > This keeps happening. All the successful ideas seem to happen > > elsewhere, notably on typing-sig. > > You seem to see that as a positive thing, but I would be happier if > fewer

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Brendan Barnwell
On 2022-03-06 14:43, Chris Angelico wrote: This keeps happening. All the successful ideas seem to happen elsewhere, notably on typing-sig. You seem to see that as a positive thing, but I would be happier if fewer typing-related changes made it in. -- Brendan Barnwell "Do not follow where

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Stephen J. Turnbull
Chris Angelico writes: > It's good to have a bit of inertia, so that status quo gets > maintained, but at the moment, the extent to which ideas get shot > down makes it look as if this list is python-idea-killing. This > keeps happening. I don't see lots of *good* ideas for syntax changes

[Python-ideas] Re: Syntax proposal of for..in..if in regular for loops

2022-03-07 Thread Paul Moore
On Sun, 6 Mar 2022 at 22:43, Chris Angelico wrote: > > On Mon, 7 Mar 2022 at 09:33, Paul Moore wrote: > > > Do I care enough to write a PEP? No. So this, like many other small > > > ideas, will probably die on the vine. > > > > Yes, this is the real problem. It's simply not compelling enough,