On 2018-07-12 18:00, Chris Angelico wrote:
> What do you mean by "fix"? Make the 'x' bind eagerly? That would break
> basically every other use of closures.

No. I mean make each x a new variable--closures would work as before,
for-loops would change. If we have subscopes, it seems natural that
entering a subscope multiple times creates a new instance of that
subscope's namespace.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to