Obviously, certain statements like function and class declarations have a scope exclusive to them. However, should other conditional statements (specifically if, while, and for) also create scopes? In Java they do, but in Python they do not (afaik).
Currently, the code is set up to follow Python's standard; however, I do not know if you prefer Java's policy. I do not have a strong opinion myself, so if you would desire, I can change the way the code currently works.
What statements create a scope?
Obviously, certain statements like function and class declarations have a scope exclusive to them. However, should other conditional statements (specifically if, while, and for) also create scopes? In Java they do, but in Python they do not (afaik).
Currently, the code is set up to follow Python's standard; however, I do not know if you prefer Java's policy. I do not have a strong opinion myself, so if you would desire, I can change the way the code currently works.