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

Terry J. Reedy report at bugs.python.org
Wed Feb 21 00:34:52 EST 2018


New submission from Terry J. Reedy <tjreedy at udel.edu>:

Actually, 'replace' 'Integral' with 'Integer' but keep 'Integral' for back compatibility.

>From python-ideas, where Guido said "Looking at https://en.wikipedia.org/wiki/Number it seems that Integer is "special" -- every other number type is listed as "<adjective> numbers" (e.g. rational numbers, complex numbers) but integers are listed as "Integers". So let's just switch it to that, and keep Integral as an alias for backwards compatibility. I don't think it's a huge problem to fix this in 3.7b2, if someone wants to do the work."

PR needs What's New entry.

Ned, if you disagree as RM, please say so.

----------
messages: 312463
nosy: ned.deily, terry.reedy
priority: high
severity: normal
stage: test needed
status: open
title: Add 'Integer' as synonym for 'Integral' in numbers module.
type: enhancement
versions: Python 3.7, Python 3.8

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


More information about the Python-bugs-list mailing list