Nick Coghlan <[EMAIL PROTECTED]> wrote: >> I'll also point people to this page, which contains a very accurate >> description of the issues with super: >> http://fuhm.net/super-harmful/ > > Hmm, the reference to Dylan's next method (along with a few other > comments in this thread) makes me believe a magic autosuper() > equivalent would really need to be based on a thread-local context, > rather than any kind of static code analysis. > > An interesting point is that being able to call the "next method" for > generic functions has exactly the same problem.
Right. Part of the problems would be solved if we forced keyword arguments only in super calls (as everything else is really a latent bug), and if we had an implicit, defaul tway of "doing the right thing" with super (that is, forwarding everything). Giovanni Bajo _______________________________________________ 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