super() does not work within vfunc overrides
Submitted by Benjamin Berg
Created attachment 257848 example code
As super() works fine for __init__, I would have expected that it would also work for other functions. However, the do_* functions do not work properly, an error is returned:
Here is the output from the attached example:
Traceback (most recent call last): File "./drawing.py", line 17, in do_draw super(Test, self).do_draw(cr) TypeError: draw() takes exactly 2 arguments (1 given)
I am not sure what kind of magic would be needed to make super() work in this case; though I expect it could be interesting with the whole bound-method stuff.
Attachment 257848, "example code":