[Python-Dev] Re: Critique of PEP 657 -- Include Fine Grained Error Locations in Tracebacks

2021-05-18 Thread Pablo Galindo Salgado
Ok, we have implemented a rough prototype and we have decided not to go with this for the following reasons: * Is almost the same storage cost as the solution we already have. Since storing the node id cost 4 bytes (an integer) per instruction and our solution needs 2+ bytes per instruction for

[Python-Dev] Re: March Steering Council update.

2021-05-18 Thread Guido van Rossum
Thanks, that's the context I was missing! Package management is hard. No wonder some folks try to bypass the whole thing and use Docker images instead. :-( On Tue, May 18, 2021 at 8:56 AM Christian Heimes wrote: > On 18/05/2021 16.19, Guido van Rossum wrote: > > There are a few mentions of

[Python-Dev] Re: March Steering Council update.

2021-05-18 Thread Christian Heimes
On 18/05/2021 16.19, Guido van Rossum wrote: > There are a few mentions of Debian, but no explanation of what the issue > is about. Can you elaborate on that? Debian and Debian-based distros like Ubuntu are applying downstream packages and split CPython interpreter and stdlib into multiple

[Python-Dev] Re: March Steering Council update.

2021-05-18 Thread Nick Coghlan
Thanks for the update! I know this request is a little ironic coming from me, but would it be possible to state the PEP titles the first time they're mentioned each month? Cross referencing is a little awkward when reading the summary on a phone rather than a full computer. Cheers, Nick. On

[Python-Dev] Re: March Steering Council update.

2021-05-18 Thread Guido van Rossum
There are a few mentions of Debian, but no explanation of what the issue is about. Can you elaborate on that? On Tue, May 18, 2021 at 06:15 Thomas Wouters wrote: > > The SC has just published the community update for March: > > >

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

2021-05-18 Thread Chris Angelico
On Tue, May 18, 2021 at 8:51 PM Stephen J. Turnbull wrote: > > Steve Holden writes: > > On Thu, May 13, 2021 at 11:07 PM Steven D'Aprano > > wrote: > > > > > Steve > > > (one of the other ones) > > > > > > > We are all other Steves! > > +1 > > There were five Steves (and one Stephanie)

[Python-Dev] March Steering Council update.

2021-05-18 Thread Thomas Wouters
The SC has just published the community update for March: https://github.com/python/steering-council/blob/main/updates/2021-03-steering-council-update.md We're still trying to get these done every month, but between the rush of PEPs and other issues before the 3.10b1 deadline, and PyCon US,

[Python-Dev] Re: Critique of PEP 657 -- Include Fine Grained Error Locations in Tracebacks

2021-05-18 Thread Larry Hastings
On 5/18/21 5:25 AM, Pablo Galindo Salgado wrote: Yet another problem that I found: One integer is actually not enough to assign IDs. One unsigned integer can cover 4,294,967,295 AST nodes, but is technically possibleto have more than that in a single file. Surely you could use a 64-bit int

[Python-Dev] Re: Critique of PEP 657 -- Include Fine Grained Error Locations in Tracebacks

2021-05-18 Thread Pablo Galindo Salgado
> One integer is actually not enough to assign IDs. Actually, disregard this particular problem. I think that we could perfectly stop assigning IDs if we reach the overflow limit and call it a day since you need to have a truly horrendous file to reach 4,294,967,295 AST nodes (I did some tests to

[Python-Dev] Re: Critique of PEP 657 -- Include Fine Grained Error Locations in Tracebacks

2021-05-18 Thread Pablo Galindo Salgado
Yet another problem that I found: One integer is actually not enough to assign IDs. One unsigned integer can cover 4,294,967,295 AST nodes, but is technically possible to have more than that in a single file. While in PEP 657 we are tracking offsets that are normally very low < 100 typically or

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

2021-05-18 Thread Stephen J. Turnbull
Steve Holden writes: > On Thu, May 13, 2021 at 11:07 PM Steven D'Aprano > wrote: > > > Steve > > (one of the other ones) > > > > We are all other Steves! +1 There were five Steves (and one Stephanie) in my 6th grade class (of 27). "Steve, move that " became an idiom -- Other

[Python-Dev] Re: Speeding up CPython

2021-05-18 Thread Stephen J. Turnbull
Abdur-Rahmaan Janhangeer writes: > That's why i guess what i am proposing might seem simple I'm saying that we already have the simple version, spelled git clone; git checkout main~5000 then git log -U0 main~5000..main | grep -v '^[-+ ]' which provides very nice hints for the

[Python-Dev] Re: Critique of PEP 657 -- Include Fine Grained Error Locations in Tracebacks

2021-05-18 Thread Pablo Galindo Salgado
Hu, actually another problem of this approach: Nodes are created and modified after the optimization pass, so the AST produced by the parser is not enough to reconstruct the actual information, we need to also run the optimization passes, but unfortunately, this is (by design) not don't in

[Python-Dev] Re: PEP 1, PEP Purpose and Guidelines

2021-05-18 Thread gopinathinchennai01
thank yohttps://www.credosystemz.com/training-in-chennai/best-angularjs-training-in-chennai//;>u it gives detailed information about email address ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to

[Python-Dev] Re: Critique of PEP 657 -- Include Fine Grained Error Locations in Tracebacks

2021-05-18 Thread Pablo Galindo Salgado
Hi Nathaniel, Thanks a lot for your suggestion! I like the idea although I still think is more complex than our current proposal, but on the other hand it allows for a much richer results so I'm quite excited to try it out. We are going to give it a go to explore it with a prototype and if we are