3 ms·
Python 3 is not "really that new" and Python 2.6-2.7 is not "old" in any way. In fact we have: pre-2.4 (really old, preinstalled on old Redhats), 2.4-2.7, 3.x
by Ingaz 14y ago
Python 3 is not "really that new" and Python 2.6-2.7 is not "old" in any way.
In fact we have: pre-2.4 (really old, preinstalled on old Redhats), 2.4-2.7, 3.x
Python 3 is curing problem with variable visibility (and if you do not write in "pure" functional way - you will never see this problem) and unicode strings. Other differences is not so "revolutionary".
- damncabbage 14y ago> (and if you do not write in "pure" functional way - you will never see this problem) Could you explain this a little more, please?
- Ingaz 14y agoYes, eevee is right. I'm talking about http://www.python.org/dev/peps/pep-3104 http://www.python.org/dev/peps/pep-3104 New keyword nonlocal and ability to have better closures.
- eevee 14y agoI assume he's talking about the `nonlocal` keyword introduced in py3, which allows overwriting names defined in outer-but-not-global scopes.