Antoon Pardon wrote:

> This make me wonder. Would it be possible to do something with
> metaclasses so that after
> 
>      class SomeClass(MetaClass):
>         ...
> 
> SomeClass() will be equivalent to MetaClass.__call__(SomeClass)

I think that's already what happens. IIUC type.__call__ implements the 
standard class creation calling __new__ and __init__.

Kent
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to