allpy
view allpy/util.py @ 310:9ad22a1848fc
Added calls to super to all classes in allpy.base
The calls are not exactly correct.
This WILL fail in certain inheritance situations.
There are two bad situations:
* inheritance from object; __init__ of object does not accept any arguments,
so it is not compatible with interface of any of our classes
* inheritance of Block(Alignment). The situation here is relatively easy to
fix: we should force compatibility of function interfaces for Block and
Alignment.
author | Daniil Alexeyevsky <me.dendik@gmail.com> |
---|---|
date | Thu, 16 Dec 2010 21:08:03 +0300 |
parents | e5c8deea6f83 |
children | 4bc2075d338a |