3 ms·
> The essence of the issue you quote is that Python needs block-level scope for variables (in addition to the standard function-level scope). No, it's not. I m
by dragonwriter 6y ago
> The essence of the issue you quote is that Python needs block-level scope for variables (in addition to the standard function-level scope).
No, it's not. I mean, sure, either general or special-case (like comprehensions already provide, and there is no good reason for matches not to) isolated scope would solve this, but so would bind-on-success-only with existing scoping.