Re:Python's super considered harmful
by masklinn on Tuesday December 28, 2010 @01:17PM
(#2046197)
This is clearer, but it has absolutely nothing to do with `for` loops (which is why your statement utterly confused me) and everything to do with Python's broken scoping in general: Python 2 gives no writing access to lexical scopes between global and local (Python 3 added a new keyword, `nonlocal`, which is used in the same manner as `global` to set a binding as writable in a parent scope).
[ Parent
| on HN ]
There are no comments on this comment yet.