git.net

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

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


Chris Angelico wrote:
> Except that it does. After calling locals() a second time, the result
> of the *first* call will be updated to reflect changes.

Yeow. That's *really* unintuitive. There had better be an extremely
good reason for this behaviour.

-- 
Greg