|
|
|
|
|
by Alex3917
331 days ago
|
|
> `for i in range(5): ...` will leave `i` bound to 4 after the loop.
reply This "feature" was responsible for one of the worst security issues I've seen in my career. I love Python, but the scope leakage is a mess. (And yes, I know it's common in other languages, but that shouldn't excuse it.) |
|