[issue13137] from __future__ import division breaks ad hoc numeric types

Benjamin Peterson report at bugs.python.org
Sun Oct 9 01:18:00 CEST 2011


Benjamin Peterson <benjamin at python.org> added the comment:

You have to implement __truediv__.

----------
nosy: +benjamin.peterson
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13137>
_______________________________________


More information about the Python-bugs-list mailing list