[Tim Delane]y > Going on the principle of least surprise, I have to say that I think > explicitly naming the scope in which a variable is to be used is the > best approach. [...] > 'global x in func1' is also a *lot* easier to explain. > > I think these two points should weigh heavily in any decision. I > think the need to rename the target scope is of lesser importance. I have to concur. EIBTI. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4