Python 2.3.3 super() behaviour
A. Lloyd Flanagan
alloydflanagan at comcast.net
Wed Apr 21 17:35:41 EDT 2004
"Nicolas Lehuen" <nicolas.lehuen at thecrmcompany.com> wrote in message news:<40864ea6$0$25528$afc38c87 at news.easynet.fr>...
>
> In this case, T.__init__ is not called, because list.__init__ does not use
> super(). The only clean way to proceed is to change the inheritance order :
> TL(T,list). This way, both constructors are called.
>
I'm surprised that a built-in type doesn't work with super(). Was
this a design decision, and if so why, or is this something that
should be fixed?
More information about the Python-list
mailing list