[issue26680] Incorporating float.is_integer into the numeric tower and Decimal
Stefan Krah
report at bugs.python.org
Tue Apr 5 09:49:18 EDT 2016
Stefan Krah added the comment:
On Tue, Apr 05, 2016 at 01:10:25PM +0000, Robert Smallshire wrote:
> Were float to inherit from Rational, rather than Real ...
This would break the Liskov substitution principle.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26680>
_______________________________________
More information about the Python-bugs-list
mailing list