[Python-Dev] [PEP 558] thinking through locals() semantics

Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 29 02:05:24 EDT 2019


Nick Coghlan wrote:
> Having a single locals() call de-optimize an entire function would be 
> far from ideal.

I don't see what would be so bad about that. The vast majority
of functions have no need for locals().

-- 
Greg


More information about the Python-Dev mailing list