On Jan 1, 9:59 am, Michele Simionato <[EMAIL PROTECTED]>
wrote:

> No PEP, this would never pass. There would be no way
> to stop a method from calling its parent: you would
> lose control of your classes, so I think this is a
> bad idea.

Not all classes, only classes the programmer chooses to have this
behaviour.

>Having said so, it is easy to implement
> what you want with a metaclass:
>
> def callParent(*methodnames):
>      class Meta(type):
>          def __init__(cls, name, bases, dic):
...
Thanks
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to