On Wed, May 25, 2011 at 11:54 AM, Jess Austin <jess.aus...@gmail.com> wrote: > So I guess that when super() is called in the context of a class def > rather than that of a method def, it doesn't have the information it > needs. Now I'll probably just say: > > do_GET = do_decorate(CGIHTTPRequestHandler.do_GET) > > but I wonder if there is a "correct" way to do this instead? Thanks!
I would recommend against using super() in general. http://fuhm.net/super-harmful/ Cheers, Ian -- http://mail.python.org/mailman/listinfo/python-list