3 ms·
The only way to really fix that is to disallow code running outside of functions, IE, basically a whole new language.
by overgard 4y ago
The only way to really fix that is to disallow code running outside of functions, IE, basically a whole new language.
- EdwardDiego 4y agoYeah the module thing is my biggest irk with Python - merely importing a module for symbols executes all the top level code.