[Python-Dev] Object customization (was: Arbitrary attributes on funcs and methods)

Gordon McMillan gmcm@hypernet.com
Fri, 14 Apr 2000 12:32:42 -0400


Vladimir Marangozov wrote:

> Amazed or not, it is contentious. I have the responsability to
> remove my veto once my concerns are adressed. So far, I have the
> impression that all I get (if I get anything at all -- see above)
> is "conveniency" from Gordon, which is nothing else but laziness
> about creating instances.

I have the impression that majority of changes to Python are 
conveniences. 
 
> As long as we discuss customization of objects with builtin types,
> the "inconsistency" stays bound to classes and instances. Add modules
> if you wish, but they are just namespaces. This proposal expands
> the customization inconsistency to functions and methods. And I am
> reluctant to see this happening "under the hood", without a global
> vision of the problem, just because a couple of people have abused
> unprotected attributes and claim that they can't do what they want
> because Python doesn't let them to.

Can you please explain how "consistency" is violated?
 


- Gordon