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

Paul Moore p.f.moore at gmail.com
Mon May 27 12:12:25 EDT 2019


On Mon, 27 May 2019 at 16:11, Guido van Rossum <guido at python.org> wrote:
>
> No, there's only one locals() dict *per stack frame*. So no worries about concurrency.

Again, if the PEP is about formalising the behaviour as language
mandated, this is worth documenting explicitly.
Paul


More information about the Python-Dev mailing list