Jeremy: > My preference is that global kills the local-decl only in one scope. I agree, because otherwise there would be no way of *undoing* the effect of a global in an outer scope. The way things are, I can write a function def f(): x = 3 return x and be assured that x will always be local, no matter what environment I move the function into. I like this property. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+
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