[Python-Dev] Re: [Python-ideas] Re: Amend PEP-8 to require clear, understandable comments instead of Strunk & White Standard English comments

2020-06-29 Thread Paul Sokolovsky
Hello, On Mon, 29 Jun 2020 06:21:36 -0700 Nathaniel Smith wrote: > On Mon, Jun 29, 2020 at 5:04 AM Paul Sokolovsky > wrote: > > > > Hello, > > > > On Mon, 29 Jun 2020 14:35:08 +0300 > > "Jim F.Hilliard" wrote: > > > > >

[Python-Dev] Re: PEP 622: Structural Pattern Matching [was: PEP 622 railroaded through?]

2020-07-07 Thread Paul Sokolovsky
Hello, On Tue, 7 Jul 2020 17:22:28 +0100 Henk-Jaap Wagenaar wrote: [] > > >> I don't like the .name syntax (grit on Tim's monitor; does [] > "PEP 622: Ditch leading dots for name loads": this is now an > ex-syntax, it is bereft of life (for this, draft, of the PEP, might > come back late

[Python-Dev] Python is the only language with lack of const'ness in core, also affects: Re: PEP 622: Structural Pattern Matching

2020-07-08 Thread Paul Sokolovsky
Hello, On Wed, 08 Jul 2020 12:45:09 +1200 Greg Ewing wrote: > On 8/07/20 5:30 am, Paul Sokolovsky wrote: > > from __future__ import const > > > > FOO: const = 1 > > > > match val: > > case FOO: # obviously matches by constant's value

[Python-Dev] Re: Python is the only language with lack of const'ness in core, also affects: Re: PEP 622: Structural Pattern Matching

2020-07-08 Thread Paul Sokolovsky
Hello, On Thu, 9 Jul 2020 01:22:48 +1000 Steven D'Aprano wrote: > Whenever someone says "Python is the only language..." it really Yeah, the original message in this sub-thread was https://mail.python.org/archives/list/python-dev@python.org/message/YPP2TWYONFL4BOR3MJHGTHWSPMQNP7J7/ , and start

[Python-Dev] Re: Python is the only language with lack of const'ness in core, also affects: Re: PEP 622: Structural Pattern Matching

2020-07-08 Thread Paul Sokolovsky
Hello, On Wed, 8 Jul 2020 12:37:05 -0400 David Mertz wrote: > On Wed, Jul 8, 2020, 12:22 PM Paul Sokolovsky > > > popular VHLL/scripting languages which doesn't support defining of > > constants in the core language: > > > > JavaScript has "const foo = 1

[Python-Dev] Re: Python is the only language with lack of const'ness in core, also affects: Re: PEP 622: Structural Pattern Matching

2020-07-08 Thread Paul Sokolovsky
Hello, On Wed, 8 Jul 2020 13:15:19 -0400 David Mertz wrote: > On Wed, Jul 8, 2020, 1:00 PM Paul Sokolovsky > > > Right. So, if someone would like to add something to this thread, > > I'd humbly suggest to concentrate on the lack of, and need for, of > > const-nes

[Python-Dev] Re: PEP 622 version 2 (Structural Pattern Matching)

2020-07-10 Thread Paul Sokolovsky
Hello, On Sat, 11 Jul 2020 00:35:39 +0200 Federico Salerno wrote: [] > A few emails ago I proposed something like this (and I'm probably > only the last one to do so amongst many), but if anyone made an > argument against it I must have missed it: The PEP itself in "rejected" ideas makes an ar

[Python-Dev] Re: PEP 622 version 2 (Structural Pattern Matching)

2020-07-11 Thread Paul Sokolovsky
Hello, On Sat, 11 Jul 2020 22:49:09 +1200 Greg Ewing wrote: [] > For the most part, Python indentation follows what people > would naturally do even if they didn't have to. So I think it's > worth looking at what people typically do in other languages > that don't have mandatory indentation. >

<    1   2   3