[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Kyle Stanley
On Mon, Sep 21, 2020 at 4:04 PM Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> wrote: > This list is about discussing the idea, > not only stating an opinion. I know > i am not endearing people to me but i > prefer threads to remain short and on > topic which helps projects like these: >

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Greg Ewing
On 22/09/20 6:39 am, Abdur-Rahmaan Janhangeer wrote: I referred PEP8, a meta-pep as PAP8 in the first mail itself If such PEPs are included under PAPs, the 'authorative' point holds Informational PEPs such as PEP 8 are relatively rare. I don't think the whole PEP process should be warped just

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Greg Ewing
On 22/09/20 6:13 am, Abdur-Rahmaan Janhangeer wrote: All law projects remain law projects. But we call law projects which has been accepted as law. I take it you're referring to the fact that (in some places at least) a proposed law is called a "bill" and when accepted becomes an "act".

[Python-ideas] Re: Fwd: Re: Experimenting with dict performance, and an immutable dict

2020-09-21 Thread Marco Sulla
I've done a PR: https://github.com/python/cpython/pull/22346 As you can see, changes are not dramatical, if you improve only kw creation. Furthermore, IMHO insert_to_emptydict() can be removed, since it speeds up the insertion of the first element, but slows down all the others. I do something

[Python-ideas] annotating PEP mentions (was: Naming Accepted PEPs as PAPs)

2020-09-21 Thread Cameron Simpson
On 21Sep2020 12:28, David Lowry-Duda wrote: >On Mon, Sep 21, 2020 at 07:12:37PM +1200, Greg Ewing wrote: >> Maybe posts to the Python lists could be passed through a >> filter that looks for PEP references and adds information to >> them. >> >> E.g. if someone typed "PEP 9876" into a post it

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Paul Moore
On Mon, 21 Sep 2020 at 21:07, Abdur-Rahmaan Janhangeer wrote: > On python lists since > i have been following them, i prefer > threads die than having it continue just > for the sake of it continueing, like the > present thread is doing. If you prefer the thread to die if people are not

[Python-ideas] PEP 9999 (provisional): support for indexing with keyword arguments

2020-09-21 Thread Stefano Borini
PEP for support for indexing with keyword arguments is now submitted as PR. https://github.com/python/peps/pull/1612 Thanks to everybody involved in the development of the PEP and the interesting discussion. All your contributions have been received and often added to the document. If the PEP is

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
On Mon, 21 Sep 2020, 23:45 , wrote: > > Actually, it conveys in a very plain manner that David Mertz does not > think your idea is a good one. > Please stop being so dismissive of others' comments. It does not endear > you to them. > This list is about discussing the idea, not only stating an

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread David Mertz
I knew it wasn't April 1 when I saw the idea, but I tried to think about if there might be some other joke I was missing. Maybe something with the word "pap" that a few people have posted various definitions of. FWIW, I'm one of those authors who has printed works that includes discussion of

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread edwin
September 21, 2020 3:37 PM, "Abdur-Rahmaan Janhangeer" mailto:arj.pyt...@gmail.com?to=%22Abdur-Rahmaan%20Janhangeer%22%20)> wrote: On Mon, 21 Sep 2020, 23:13 David Mertz, mailto:me...@gnosis.cx)> wrote:This is a silly proposal with absolutely zero benefit, none that I can even see purported in

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
On Mon, 21 Sep 2020, 23:13 David Mertz, wrote: > This is a silly proposal with absolutely zero benefit, none that I can > even see purported in the suggestion itself, let alone in reality. > Thank you for your thoughts but i guess this mail does not add anything new to the thread nor does it

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread David Mertz
This is a silly proposal with absolutely zero benefit, none that I can even see purported in the suggestion itself, let alone in reality. On Mon, Sep 21, 2020 at 8:47 AM Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> wrote: > > > Kind Regards, > > Abdur-Rahmaan Janhangeer > about

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 10:52 PM David Lowry-Duda wrote: > > This is very well said. And I'll add that much of this

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
On Mon, Sep 21, 2020 at 10:47 PM Chris Angelico wrote: > > > (This signature at the TOP of every post is just getting in the way, > is there any way to move it to the bottom where it belongs?) I use Gmail and the signature always floats. I don't remember putting it in that irritating place.

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread David Lowry-Duda
On Tue, Sep 22, 2020 at 04:18:42AM +1000, Chris Angelico wrote: > PEPs don't get updated as future requirements cause changes in the > language. They remain as they were: the proposal. Changing the name > because of a change in the PEP's metadata seems like a very backwards > way to do things;

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Chris Angelico
On Tue, Sep 22, 2020 at 4:39 AM Abdur-Rahmaan Janhangeer wrote: > > > > Kind Regards, > > Abdur-Rahmaan Janhangeer > about | blog > github > Mauritius > (This signature at the TOP of every post is just getting in the way, is there any way to move it to the bottom where it belongs?) > On Mon,

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 10:19 PM Chris Angelico wrote: > PEPs don't get updated as future requirements cause

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Chris Angelico
On Tue, Sep 22, 2020 at 4:13 AM Abdur-Rahmaan Janhangeer wrote: > On Mon, Sep 21, 2020 at 10:00 PM Chris Angelico wrote: >> >> >> Can you explain to us what we'd gain by having a complete name change >> once a PEP becomes accepted? > > > A proposal means a suggestion. People propose enhancement

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 10:00 PM Chris Angelico wrote: > > Can you explain to us what we'd gain by having a

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 9:55 PM Barry Scott wrote: > No they are saying that PEP and RFC are the same type of thing

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Chris Angelico
On Tue, Sep 22, 2020 at 3:46 AM Abdur-Rahmaan Janhangeer wrote: > The 3 last mails have not added much to the discussion. > Pinning down on RFC is like saying we'll give cat the same > food as catfish as they both do seem similar and we have not > found the need to change catfish food since we

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Barry Scott
> On 21 Sep 2020, at 18:42, Abdur-Rahmaan Janhangeer > wrote: > > > > Kind Regards, > > Abdur-Rahmaan Janhangeer > about | blog > > github > Mauritius > > > On Mon, Sep 21, 2020

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 9:23 PM Barry Scott wrote: > > This is like RFC that can be draft, accepted or rejected. >

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Barry Scott
> On 21 Sep 2020, at 08:35, Abdur-Rahmaan Janhangeer > wrote: > > Maybe they have not thought of doing it and also, request for comments is > like the first mail on python-ideas You might find this interesting on RFC process: https://en.wikipedia.org/wiki/Request_for_Comments Or maybe they

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Barry Scott
> On 21 Sep 2020, at 07:26, Abdur-Rahmaan Janhangeer > wrote: > > Greeting lists, > > I am thinking of proposing to name accepted PEPs as PAPs > namely: Python Accepted Proposals. > > Hence if we say PAP8 we know it's an accepted proposal. > > Backstory: > > I quoted V. Stinner in this >

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Eric V. Smith
On 9/21/2020 1:09 PM, Abdur-Rahmaan Janhangeer wrote: Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 8:41 PM David Lowry-Duda

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 8:41 PM David Lowry-Duda wrote: > I see no reason why we should think about changing PEPs.

[Python-ideas] Re: Add the brotli & zstandard compression algorithms as modules

2020-09-21 Thread Barry Scott
> On 21 Sep 2020, at 16:14, Antoine Pitrou wrote: > > > Hi, > > On Mon, 21 Sep 2020 09:31:47 - > "Omer Katz" mailto:omer.d...@gmail.com>> wrote: >> Hello everyone, >> >> We have many compression algorithms as standard modules, but we lack two >> important new algorithms: brotli and

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread David Lowry-Duda
On Mon, Sep 21, 2020 at 07:12:37PM +1200, Greg Ewing wrote: > On 21/09/20 6:59 pm, Steven D'Aprano wrote: > > On Mon, Sep 21, 2020 at 10:26:45AM +0400, Abdur-Rahmaan Janhangeer wrote: > > > I am thinking of proposing to name accepted PEPs as PAPs > > > namely: Python Accepted Proposals. > >

[Python-ideas] Re: Add the brotli & zstandard compression algorithms as modules

2020-09-21 Thread Antoine Pitrou
Hi, On Mon, 21 Sep 2020 09:31:47 - "Omer Katz" wrote: > Hello everyone, > > We have many compression algorithms as standard modules, but we lack two > important new algorithms: brotli and zstandard. > > Brotli is an important compression algorithm both for HTTP2 and for >

[Python-ideas] Add the brotli & zstandard compression algorithms as modules

2020-09-21 Thread Omer Katz
Hello everyone, We have many compression algorithms as standard modules, but we lack two important new algorithms: brotli and zstandard. Brotli is an important compression algorithm both for HTTP2 and for compressing/decompressing HTTP responses. ZStandard is another algorithm for compression

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 12:20 PM Paul Moore wrote: > > On Mon, 21 Sep 2020 at 08:29, Abdur-Rahmaan Janhangeer > wrote: > >> I know that PEPs have different status as enumerated here > > I'm surprised you don't feel that

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 11:46 AM Steven D'Aprano wrote: > > On Mon, Sep 21, 2020 at 11:25:52AM +0400, Abdur-Rahmaan Janhangeer wrote: > > > > How would this work in practice? After a PEP is accepted, are we > > > supposed to

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Paul Moore
On Mon, 21 Sep 2020 at 08:29, Abdur-Rahmaan Janhangeer wrote: > That's why the references exist, so that you look the details up. But knowing > at a glance the status of a PEP immediately changes the perception of the > text at hand You are very optimistic that people will remember to make this

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Steven D'Aprano
On Mon, Sep 21, 2020 at 11:25:52AM +0400, Abdur-Rahmaan Janhangeer wrote: > > How would this work in practice? After a PEP is accepted, are we > > supposed to go back through all the references to it and change them all > > to PAP? Do we expect people to search for "PAP 12345" and "PEP 12345" if

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Chris Angelico
On Mon, Sep 21, 2020 at 5:39 PM Abdur-Rahmaan Janhangeer wrote: > > On Mon, Sep 21, 2020 at 11:13 AM Greg Ewing > wrote: > > > > > > There's precedent for *not* doing that kind of thing. > > "RFC" stands for "Request For Comment", and it stays that > > way long after it has become adopted as a

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
On Mon, Sep 21, 2020 at 11:13 AM Greg Ewing wrote: > > > There's precedent for *not* doing that kind of thing. > "RFC" stands for "Request For Comment", and it stays that > way long after it has become adopted as a standard! Maybe they have not thought of doing it and also, request for comments

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 11:01 AM Steven D'Aprano wrote: > On Mon, Sep 21, 2020 at 10:26:45AM +0400, Abdur-Rahmaan

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Greg Ewing
On 21/09/20 6:59 pm, Steven D'Aprano wrote: On Mon, Sep 21, 2020 at 10:26:45AM +0400, Abdur-Rahmaan Janhangeer wrote: I am thinking of proposing to name accepted PEPs as PAPs namely: Python Accepted Proposals. There's precedent for *not* doing that kind of thing. "RFC" stands for "Request For

[Python-ideas] Re: f-strings as assignment targets

2020-09-21 Thread Christopher Barker
On Sun, Sep 20, 2020 at 2:27 AM Stephen J. Turnbull < turnbull.stephen...@u.tsukuba.ac.jp> wrote: > Are you sure that shouldn't be "I was told to expect three things, but > I found six?" ;-) > > And why not parse a_string using the "grammar" "{x}{y}{z}" as {'x': > 2345, 'y': 6, 'z': 7}? That's

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Steven D'Aprano
On Mon, Sep 21, 2020 at 10:26:45AM +0400, Abdur-Rahmaan Janhangeer wrote: > Greeting lists, > > I am thinking of proposing to name accepted PEPs as PAPs > namely: Python Accepted Proposals. I immediately think of these: https://www.merriam-webster.com/dictionary/pap

[Python-ideas] Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Greeting lists, I am thinking of proposing to name accepted PEPs as PAPs namely: Python Accepted Proposals. Hence if we say PAP8 we know it's an accepted proposal. Backstory: I quoted V. Stinner in this for PEP 608