osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


On Sun, May 26, 2019 at 09:20:53PM +1000, Chris Angelico wrote:

> Sure, but this PEP is all about defining things that weren't
> previously defined, so I wanted to clarify intent rather than current
> behaviour.

As I understand it, the intent is to:

- fix some annoyances/bugs involved when you have a trace hook;
- make the current CPython behaviour a language behaviour.


-- 
Steven