> If you have the > > from __future__ import division > > statement, you need to override __truediv__(), not __div__()
That worked after I also added from __future__ import division to all other modules I created. Is it possible that there appears an inconsistency if the division is imported in only some of the modules? Anton -- http://mail.python.org/mailman/listinfo/python-list