[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

Raymond Hettinger report at bugs.python.org
Thu Aug 22 02:43:48 EDT 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Marking this as closed:
* no forward movement for a year and half 
* opposition from multiple core devs

Feel free to revive this if you truly think this is needed and want to get the debate going again.

Also, expanding the numeric tower is always going to be problematic, because any user type that currently registers with it will be instantly non-compliant.  Concrete classes can grow APIs and keep backwards compatibility but abstract classes cannot easily grow new requirements.

----------
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26680>
_______________________________________


More information about the Python-bugs-list mailing list