Re: [Webware-discuss] Shouldn't Super work with webkit?

2005-06-25 Thread Jose Galvez
BTW if I comment out the assert statement in the application.py file then it appears to work correctly, Jose Jose Galvez wrote: looking at the application.py the line causing the problem is: assert type(klass) is ClassType which I think makes sense because classes and types have been combin

Re: [Webware-discuss] Shouldn't Super work with webkit?

2005-06-25 Thread Jose Galvez
looking at the application.py the line causing the problem is: assert type(klass) is ClassType which I think makes sense because classes and types have been combined, but like I said before I'm pretty green with new style classes, so how do you get around this? Jose Chuck Esterbrook wrote:

Re: [Webware-discuss] Shouldn't Super work with webkit?

2005-06-25 Thread Jose Galvez
Dear Chuck, I just tried this and got this error: Traceback (most recent call last): File "WebKit\ThreadedAppServer.py", line 780, in run File "WebKit\ThreadedAppServer.py", line 81, in __init__ File "WebKit\AutoReloadingAppServer.py", line 56, in __init__ File "WebKit\AppServer.py", line 91

[Webware-discuss] Shouldn't Super work with webkit?

2005-06-25 Thread Jose Galvez
Shouldn't super work with webkit? basically why does this generate an error: from WebKit.Page import Page class sutest(Page): def __init__(self): super(sutest, self).__init__() self.val = 'test' def writeContent(self): self.write(self.val) the error I get is : sup