[Python-ideas] Required to call superclass __init__
Oleg Broytmann
phd at phd.pp.ru
Tue Nov 13 10:12:46 CET 2007
On Tue, Nov 13, 2007 at 12:23:40AM -0700, Neil Toronto wrote:
> I've got a working prototype metaclass and class instance
> (require_super) and decorator (super_required).
Chicken and egg problem, in my eyes. If the user is clever enough to use
the class and the decorator isn't she clever enough to call inherited
__init__?
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-ideas
mailing list