[Python-3000] Special methods and interface-based type system
janssen at parc.com
Thu Nov 23 03:30:32 CET 2006
> > 1) Mainly, all methods are special to someone.
> But some, such as those that have special meaning to the language
> itself, are more special than others.
> __methods__ are not just plain old methods with funny names. You write
> regular methods to express functionality you wish your class to have,
> but you write __methods__ to provide low-level glue tying your class in
> with the interpreter.
That's a somewhat different rationale than Guido provided, thanks. Or
maybe I just understand it better. Still seems an odd way to
differentiate a namespace.
More information about the Python-3000