[Python-Dev] Re: python.org doc portal question/bug

2020-12-04 Thread Ivan Pozdeev via Python-Dev
I just missed it, too, even though I specifically looked for it. I was looking for "help"/"feedback"/"contact". The page I found, https://www.python.org/about/help/, in a text specifically saying about getting help, mentions webmas...@python.org but doesn't say a wo

[Python-Dev] Summary of Python tracker Issues

2020-12-04 Thread Python tracker
ACTIVITY SUMMARY (2020-11-27 - 2020-12-04) Python tracker at https://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open7561 (-18) closed 46745 (+103) total 54306 (+85) Open issues w

[Python-Dev] Pattern Matching Scope

2020-12-04 Thread Jim J. Jewett
[Steven D'Aprano st...@pearwood.info responding to Paul Sokolovsky] wrote: > > Let us be clear: failed matches do not affect > > surrounding > > namespaces unless you declare capture variables as global or > > nonglobal. They might affect the current namespace, but not > > surrounding namespaces.

[Python-Dev] Re: Pattern Matching Scope

2020-12-04 Thread Ethan Furman
On 12/4/20 11:15 AM, Jim J. Jewett wrote: To be more specific, I'm not sure what is intended for the 2nd or 3rd case below, which reuse a variable "bound" by the first (failed) match. Nor am I sure whether it matters that the first match fails on the guard predicate, instead of immediately on

[Python-Dev] Re: Pattern Matching Scope

2020-12-04 Thread Daniel Moisset
This is an answer to "what PEP 634 proposes": On Fri, 4 Dec 2020 at 19:18, Jim J. Jewett wrote: > (...) > I'm getting a bit confused over when people mean "the PEP currently says" > vs "the implementation probably should" vs "the PEP should additionally > require" vs "the PEP should instead say"

[Python-Dev] Re: Pattern Matching Scope

2020-12-04 Thread Ethan Furman
On 12/4/20 12:45 PM, Daniel Moisset wrote:     case (d = a): This is a SyntaxError, (d=a) is not a pattern. Ah, right. I was thinking of the case when a type was specified, aka case MyObj(d = a): -- ~Ethan~ ___ Python-Dev mailing list

[Python-Dev] Re: Pattern Matching controversy: Don't read PEP 635, read DLS'20 paper instead

2020-12-04 Thread Guido van Rossum
I hope more of the regulars here jump on this bandwagon. It will be a great day when Paul posts one of his offensive posts and there is just deafening silence. Paul was in my (very short) kill file for years but I decided to give him another chance. And he blew it. There is a reason why he was ba