[issue9140] SocketServer.BaseRequestHandler not a new-style class?

2010-07-02 Thread Peter Froehlich
Peter Froehlich added the comment: On Fri, Jul 2, 2010 at 8:50 AM, Éric Araujo wrote: > -    super(Handler, self).do_GET() > +    Handler.do_GET(self) Yep, that's how I solved it. :-D -- ___ Python tracker <http://bugs.python

[issue9140] SocketServer.BaseRequestHandler not a new-style class?

2010-07-01 Thread Peter Froehlich
New submission from Peter Froehlich : I tried to do this: class Handler(SimpleHTTPRequestHandler): def do_GET(self): super(Handler, self).do_GET() print self.path However super fails: TypeError: super() argument 1 must be type, not classobj Looking up the chain of base classes, I