[Python-Dev] Re: PEP 659: Specializing Adaptive Interpreter

2021-05-12 Thread Terry Reedy
On 5/12/2021 1:40 PM, Mark Shannon wrote: This is an informational PEP about a key part of our plan to improve CPython performance for 3.11 and beyond. As always, comments and suggestions are welcome. The claim that starts the Motivation section, "Python is widely acknowledged as slow.",

[Python-Dev] Re: Speeding up CPython

2021-05-12 Thread Abdur-Rahmaan Janhangeer
On Thu, 13 May 2021, 01:09 Terry Reedy, wrote: > On 5/12/2021 2:50 PM, Abdur-Rahmaan Janhangeer wrote: > > Great news, just a tiny bit from me. > > I read the other day in the OpenSource report > > sponsored by the Ford Foundation a CPython > > contributor stating that we have an all time high >

[Python-Dev] Re: Future PEP: Include Fine Grained Error Locations in Tracebacks

2021-05-12 Thread Mike Miller
On 2021-05-11 16:12, Guido van Rossum wrote: On Tue, May 11, 2021 at 4:07 PM Gregory P. Smith There's a difference between tracebacks dumped as plain text (utf-8) by traceback.print_exc() appearing on stderr or directed into log files and what can be displayed within a terminal.  It

[Python-Dev] Re: Speeding up CPython

2021-05-12 Thread Terry Reedy
On 5/12/2021 5:14 PM, Antoine Pitrou wrote: On Wed, 12 May 2021 17:05:03 -0400 Terry Reedy wrote: Yet you always see it: new people not knowing where to start, highly skilled contributors drowning and intermediate contributors moving slowly I have multiple times strongly recommended that

[Python-Dev] Re: Speeding up CPython

2021-05-12 Thread Antoine Pitrou
On Wed, 12 May 2021 17:05:03 -0400 Terry Reedy wrote: > > > contributing and level up to gain a pool of resources > > We don't need to wait for easy issues or things like > > that or wait for PR merge to level up. > > > > Yet you always see it: new people not knowing where to start, > > highly

[Python-Dev] Re: Speeding up CPython

2021-05-12 Thread Terry Reedy
On 5/12/2021 2:50 PM, Abdur-Rahmaan Janhangeer wrote: Great news, just a tiny bit from me. I read the other day in the OpenSource report sponsored by the Ford Foundation a CPython contributor stating that we have an all time high count of Python users but an all time low number of contributors

[Python-Dev] Re: Speeding up CPython

2021-05-12 Thread Abdur-Rahmaan Janhangeer
Great news, just a tiny bit from me. I read the other day in the OpenSource report sponsored by the Ford Foundation a CPython contributor stating that we have an all time high count of Python users but an all time low number of contributors to CPython. I don't know how but we certainly need a fake

[Python-Dev] Re: Speeding up CPython

2021-05-12 Thread Guido van Rossum
On Fri, May 7, 2021 at 8:20 PM Gregory P. Smith wrote: > > On Fri, May 7, 2021 at 6:51 PM Steven D'Aprano > wrote: > >> On Tue, Oct 20, 2020 at 01:53:34PM +0100, Mark Shannon wrote: >> > Hi everyone, >> > >> > CPython is slow. We all know that, yet little is done to fix it. >> > >> > I'd like

[Python-Dev] PEP 659: Specializing Adaptive Interpreter

2021-05-12 Thread Mark Shannon
Hi everyone, I would like to present PEP 659. This is an informational PEP about a key part of our plan to improve CPython performance for 3.11 and beyond. For those of you aware of the recent releases of Cinder and Pyston, PEP 659 might look similar. It is similar, but I believe PEP 659

[Python-Dev] Re: Necessary or not for enhancement of issue44097: “add configure option to control the groups of .pyc files to install”

2021-05-12 Thread Xin, Peixing
Mainly for storage size, especially for embedded devices. Installation time is small factor. Normally we just want one type of .pyc files. Getting all types installed at default looks burden to distributors. In some cases we even don't want any .pyc files at all. For example, if we copy the

[Python-Dev] Re: Necessary or not for enhancement of issue44097: “add configure option to control the groups of .pyc files to install”

2021-05-12 Thread Antoine Pitrou
Hi Peixing, On Wed, 12 May 2021 09:27:46 + "Xin, Peixing" wrote: > > I created issue44097 for build enhancement: “add configure option to control > the groups of .pyc files to install” and PR 23920 for the solution. From the > only a few of comments I’ve got, someone thinks this

[Python-Dev] Necessary or not for enhancement of issue44097: “add configure option to control the groups of .pyc files to install”

2021-05-12 Thread Xin, Peixing
Hi , I created issue44097 for build enhancement: “add configure option to control the groups of .pyc files to install” and PR 23920 for the solution. From the only a few of comments I’ve got, someone thinks this enhancement makes sense. However, someone expressed opposition to this. So what is