Python inconsistent UnboundLocalError behavior. One local variable throws error while the other does not
4272
Short description of the scoping rules?
72833
C#: Use of unassigned local variable, using a foreach and if
121668
How to avoid global variables in JavaScript?
134363
Why does the global variable exist here, where it was declared only in Module?
18279
How do I avoid scoping collisions of iterator variables?
145829
Do Table iteration variables need to be localized using Module?
112198
Global Variables vs. Local Variables
66100
What limitations have closures in Python compared to language X closures?
17877
Why are local variables not initialized in Java?
26589
Simulating a 'local static' variable in python
116576
Why must local variables, including primitives, always be initialized in Java?
9266
Why does Chrome debugger think closed local variable is undefined?
126640
In Javascript, why is the "this" operator inconsistent?
47957
Class method differences in Python: bound, unbound and static
12738
Correct Use Of Global Variables In Python 3
109430
What is the scope of the local variable/methods of an instance
12683
How to access a local variable from a different function using pointers?