[Python-3000] Special methods and interface-based type system
George Sakkis
gsakkis at rutgers.edu
Mon Nov 27 15:21:29 CET 2006
On 11/27/06, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Bill Janssen wrote:
>
> > Now, I don't see why the connection to the
> > underlying VM implementation needs name-mangling -- it would be
> > reasonable just to define a distinguished module (call it, say, for
> > tradition's sake, "__VM__" :-), and put them in that module.
>
> putting methods in a module? how would that work?
>
> </F>
How about a nested class, like Meta in Django ?
George
More information about the Python-3000
mailing list