>Yes, of course people will use it to get the effect of function statics. OK >by me. People do the same thing today with class data attributes (i.e., to Wait, the attributes added to a function are visible inside the function? (I haven't looked that closely at the patch?) That strikes me as a much more significant change to Python's scoping, making it local, function attribute, then global scope. a I thought of the attributes as labels that could be attached to a callable object for the convenience of some external system, but the function would remain blissfully unaware of the external meaning attached to itself. -1 from me if a function's attributes are visible to code inside the function; +0 if they're not. -- A.M. Kuchling http://starship.python.net/crew/amk/ The paradox of money is that when you have lots of it you can manage life quite cheaply. Nothing so economical as being rich. -- Robertson Davies, _The Rebel Angels_
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