On Fri, 14 Apr 2000, Barry A. Warsaw wrote:
Can I get at least a +0? :)
I want function attributes. (There are all sorts of occasions i need cues to classify functions for executives that map and apply them, and this seems like the perfect way to couple that information with the object. Much nicer than having to mangle the names of the functions, or create some external registry with the classifications.) And i think i'd want them even more if they were visible within the function, so i could do static variables. Why is that a bad thing? So i guess that means i'd give a +1 for the proposal as stands, with the understanding that you'd get *another* +1 for the additional feature - yielding a bigger, BETTER +1. Metadata, static vars, frameworks ... oh my!-) (Oh, and i'd suggest up front that documentation for this feature recommend people not use "__*__" names for their own object attributes, to avoid collisions with eventual use of them by python.) Ken klm@digicool.com