[Python-Dev] Re: PEP 558, the simplest thing I could come up with

2021-08-16 Thread Brett Cannon
On Sat, Aug 14, 2021 at 8:01 PM Nick Coghlan wrote: > Bringing the public record up to date with a brief off-list discussion > between Mark, Nathaniel and I: > > * Mark hasn't convinced me that getting rid of the frame value cache > entirely for optimised frames is a good idea, so he's going to w

[Python-Dev] Re: PEP 558, the simplest thing I could come up with

2021-08-14 Thread Nick Coghlan
Bringing the public record up to date with a brief off-list discussion between Mark, Nathaniel and I: * Mark hasn't convinced me that getting rid of the frame value cache entirely for optimised frames is a good idea, so he's going to write that proposal up as a competing PEP. Once it has been draf

[Python-Dev] Re: PEP 558, the simplest thing I could come up with

2021-07-30 Thread Nick Coghlan
On Fri, 30 Jul 2021, 2:30 pm Nathaniel Smith, wrote: > > > > > For [proxy] versus [snapshot], a lot depends on what we think of > changing the semantics of exec(). [proxy] is definitely more consistent and > elegant, and if we could go back in time I think it's > what we'd have done from the star

[Python-Dev] Re: PEP 558, the simplest thing I could come up with

2021-07-29 Thread Nathaniel Smith
On Thu, Jul 29, 2021 at 4:52 PM Nick Coghlan wrote: > > On Fri, 30 Jul 2021, 6:05 am Mark Shannon, wrote: >> >> Hi Nick, >> >> Our discussion on PEP 558 got me thinking >> "What is the simplest thing that would work?". >> >> This is what I came up (in the form of a draft PEP): >> https://github.c

[Python-Dev] Re: PEP 558, the simplest thing I could come up with

2021-07-29 Thread Nick Coghlan
On Fri, 30 Jul 2021, 6:05 am Mark Shannon, wrote: > Hi Nick, > > Our discussion on PEP 558 got me thinking > "What is the simplest thing that would work?". > > This is what I came up (in the form of a draft PEP): > https://github.com/markshannon/peps/blob/pep-locals/pep-06xx.rst > > It doesn't ha