[Python-Dev] Request for reviewers: pathlib improvements

2021-04-02 Thread Barney Gale
I’m working towards supporting subclassing pathlib.Path for things like zip/tar archives, iso files, S3, etc. This was first brought up a few years ago in bpo-24132 and discussed further on the python-ideas forum

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-02 Thread Guido van Rossum
On Fri, Apr 2, 2021 at 12:43 PM Brandt Bucher wrote: > Mark Shannon wrote: > > On 02/04/2021 7:19 am, Brandt Bucher wrote: > > > I agree that self-matching classes should absolutely allow keyword > matches. I had no idea the PEP forbade it. > > PEP 634 allows it. > > PEP 634 says: > > > For a num

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-02 Thread Brandt Bucher
Mark Shannon wrote: > On 02/04/2021 7:19 am, Brandt Bucher wrote: > > I agree that self-matching classes should absolutely allow keyword matches. > > I had no idea the PEP forbade it. > PEP 634 allows it. PEP 634 says: > For a number of built-in types (specified below), a single positional > su

[Python-Dev] Summary of Python tracker Issues

2021-04-02 Thread Python tracker
ACTIVITY SUMMARY (2021-03-26 - 2021-04-02) 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: open7505 ( +7) closed 47938 (+67) total 55443 (+74) Open issues wi

[Python-Dev] [RELEASE] Python 3.9.3 and 3.8.9 are now available

2021-04-02 Thread Łukasz Langa
Those are expedited security releases, recommended to all users. Get them here: https://www.python.org/downloads/release/python-393/ https://www.python.org/downloads/release/python-389/

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-02 Thread Guido van Rossum
On Fri, Apr 2, 2021 at 3:38 AM Mark Shannon wrote: > Hi Brandt, > > On 02/04/2021 7:19 am, Brandt Bucher wrote: > > Guido van Rossum wrote: > >> Well, now I have egg on my face, because the current implementation > does reject multiple occurrences of the same identifier in __match_args__. > We ge

[Python-Dev] Re: SC feedback: PEP 648 -- Extensible customizations of the interpreter at startup

2021-04-02 Thread Nick Coghlan
On Wed, 31 Mar 2021 at 11:01, Barry Warsaw wrote: > > Kind of :) > > PEP 648 would definitely allow us to deprecate the executable part of pth > files. I let my own biases leak in to my response because I would like to > find a way to replace the sys.path feature of pth with something much more

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-02 Thread Mark Shannon
Hi Brandt, On 02/04/2021 7:19 am, Brandt Bucher wrote: Guido van Rossum wrote: Well, now I have egg on my face, because the current implementation does reject multiple occurrences of the same identifier in __match_args__. We generate an error like "TypeError: C() got multiple sub-patterns for

[Python-Dev] Re: Request for comments on final version of PEP 653 (Precise Semantics for Pattern Matching)

2021-04-02 Thread Mark Shannon
Hi Guido, On 02/04/2021 2:38 am, Guido van Rossum wrote: On Thu, Apr 1, 2021 at 2:18 PM Mark Shannon > wrote: On 31/03/2021 9:53 pm, Guido van Rossum wrote: > On Wed, Mar 31, 2021 at 12:08 PM Mark Shannon mailto:m...@hotpy.org> >