On Sun, Feb 26, 2006 at 03:27:34PM +0100, Massimiliano Leoni wrote: > Why would you change the Python scoping rules, instead of using the > function attributes, available from release 2.1 (PEP 232) ? Because closures allow for data that isn't trivially reachable by the caller (or anyone but the function itself.) You can argue that that's unpythonic or what not, but fact is that the current closures allow that. -- Thomas Wouters <thomas at xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
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