On 4/11/20 4:36 am, Paul Svensson wrote:
On Tue, 3 Nov 2020, Greg Ewing wrote:
once people start using "_" as a wildcard
in patterns, it will be too late to go back.
But will it, really ?
It seems to me, that if we leave the "_" magic out,
and leave "case x, x" to the linters,
that leaves a c
The engines of the secret release manager machine have finished producing a
new pre-release. Go get it here:
https://www.python.org/downloads/release/python-3100a2/
*Major new features of the 3.10 series, compared to 3.9*
Python 3.10 is still in development. This releasee, 3.10.0a2 is the secon
On 11/2/20 2:01 PM, Brandt Bucher wrote:
Glenn Linderman wrote:
So what _is_ the syntax for "a tuple of two equal values" ?
If you’re asking about PEP 634:
```
case x, y if x == y:
```
Which is much clearer, in my opinion.
Yeah, I've come 'round to this opinion as well.
Let's get basic pa
On Tue, 3 Nov 2020, Greg Ewing wrote:
On 3/11/20 11:01 am, Ethan Furman wrote:
I believe supporting
case x, x # look ma! no guard!
is a possible future enhancement.
In which case there will be a need for *some* kind of true
"don't care" placeholder. If it's not "_" then it will hav
On 11/3/20 1:30 AM, Federico Salerno wrote:
Re: symbol for lookup
Whatever happened to the proposal of using . as prefix?
I think . is visible enough while being aesthetically inoffensive. Am i missing some problem or important past objection
to it?
Many people think . is not visible enough
On Mon, Nov 02, 2020 at 03:31:44PM +0100, Thomas Wouters wrote:
> On Sat, Oct 31, 2020 at 12:25 PM Steven D'Aprano
> wrote:
>
> >
> > I really don't get why so many people are hung up over this minuscule
> > issue of giving `_` special meaning inside match statements. IMO,
> > consistency with ot
Hello,
On Tue, 3 Nov 2020 10:30:22 +0100
Federico Salerno wrote:
> Re: symbol for lookup
>
> Whatever happened to the proposal of using . as prefix?
I guess, the same that happened with the proposals to use "+" as a
prefix, or proposals to change sides and use
"->"
(https://mail.python.org/ar
Re: symbol for lookup
Whatever happened to the proposal of using . as prefix?
If memory serves, the main objection was about it being hard to see, but is
it really? We use fixed width fonts for a reason, and there are other
places a dot is quite critical (has any php programmer ever mistaken a .=