[Python-Dev] PEP 558: Defined semantics for locals() (original) (raw)

Armin Rigo armin.rigo at gmail.com
Sat May 25 03:29:10 EDT 2019


Hi,

On Thu, 23 May 2019 at 17:28, Steve Dower <steve.dower at python.org> wrote:

On 23May2019 0636, Nick Coghlan wrote: > However, I think the PR does show that the proposed technique can be > implemented without too much additional code complexity, and will > hopefully be adaptable for all implementations that emulate the frame > API at all.

Much excitement! One of the things I like best about this change is that it actually makes it easier for alternative implementations to use a simpler frame object without having to emulate CPython semantics (I'd love to get to a place where bug-for-bug compatibility wasn't required, but this is where we are right now so shrug).

Thanks Nick for getting this through!

A bientôt, Armin



More information about the Python-Dev mailing list