[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

Sergey B Kirpichev report at bugs.python.org
Mon Apr 26 23:36:56 EDT 2021


Sergey B Kirpichev <skirpichev at gmail.com> added the comment:

On Tue, Apr 27, 2021 at 02:49:15AM +0000, Jelle Zijlstra wrote:
> Forcing all of them to change doesn't seem particularly valuable.

It seems, this will cost very little work on their side, much
less than on the CPython side.  Do you agree?

Something like this change:
https://docs.python.org/3.7/whatsnew/3.7.html#id3
- require much more efforts...

> but "Integral" isn't actively misleading.

Well, sometimes it surprise people, e.g.:
https://mail.python.org/archives/list/python-ideas@python.org/message/2KQSRVBUWGBVV2MPTI4J6M4BVO2NYB3V/

BTW, we already have some inconsistencies around this
terminology.  E.g. recently introduced Decimal.is_integer() vs to_integral():
https://bugs.python.org/issue26680#msg262715

----------

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


More information about the Python-bugs-list mailing list