Note that Phillip's hypothetical was about it depending on *the order in which modules are imported*. Super has no such dependency -- it just depends on the inheritance graph, which is much more well-defined.
--Guido On 5/15/07, Greg Ewing <[EMAIL PROTECTED]> wrote: > Christian Tanzer wrote: > > Greg Ewing <[EMAIL PROTECTED]> wrote: > > > > > Phillip J. Eby wrote: > > > > > > > Imagine what would happen if the results of > > > > calling super() depended on what order your modules had been imported > > > > in! > > > > > > Actually, something like this does happen with super. > > > > This is true but doesn't matter (which is the beauty of super). > > Only because super methods are written with this > knowledge in mind, however. Seems to me you ought > to have something similar in mind when overloading > a generic function. > > -- > Greg > _______________________________________________ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/guido%40python.org > -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com