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

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido, Integer as synonym for Integral was your idea, or at least your endorsement prompted me to file the issue. Other core devs don't think the change is worth the trouble; I don't much care. Speak up if you want to revive it. -- nosy:

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

2021-05-01 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: On Tue, Apr 27, 2021 at 08:31:35AM +, Raymond Hettinger wrote: > Well, that complicated things ;-) I suppose he can revive this if he wants. That was just to note: it wasn't my (=> bad & stupid) idea. Lets hope, he will note, even not being

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

2021-04-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: > that was Guido's suggestion. Well, that complicated things ;-) I suppose he can revive this if he wants. Perhaps after seeing how pervasive the change is he will be less inclined. Jelle, Mark, and I have all thought about it and don't think it is

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

2021-04-26 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: > Thank you for the suggestion Raymond, that was Guido's suggestion. -- ___ Python tracker ___

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

2021-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Serhiy, Mark and Jelle for the reasons they listed. Am marking this as closed. If there were a greenfield exercise, Integer would be a mildly better choice. However, this code has long been deployed and changing it would create more

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

2021-04-26 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: On Tue, Apr 27, 2021 at 02:49:15AM +, 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

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

2021-04-26 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Like Mark I'm opposed to this change. It requires little work in CPython itself, but numbers.Integral has now been a part of the language for many years and the name is used in numerous third-party projects. Forcing all of them to change doesn't seem

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

2021-04-26 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: > so I'll simply record my -1 for the proposed change and move on Mark, thank you for some PR review, anyway. I hope, we still can count Guido +1 on the change. > If you want to push this change through, the way forward would likely be to > find a

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

2021-04-26 Thread Mark Dickinson
Mark Dickinson added the comment: Sorry, Sergey: I don't have the time, energy or inclination for an extended discussion here, so I'll simply record my -1 for the proposed change and move on. If you want to push this change through, the way forward would likely be to find a core developer

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

2021-04-23 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: On Fri, Apr 23, 2021 at 11:51:17AM +, Mark Dickinson wrote: > The name "Integral" isn't actually _wrong_ as such; it's just perhaps > not the name that we would have chosen if we were inventing the > numbers ABC right now. > > If we add "Integer", we

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

2021-04-23 Thread Mark Dickinson
Mark Dickinson added the comment: For the record, here's the python-ideas thread: https://mail.python.org/archives/list/python-id...@python.org/thread/AWNTQZ3HHAQ42O2ZHRA3U2US4HGKC2TF/ I'm no longer convinced that this is a good idea. It's the usual difference between "Would it have been

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

2021-04-22 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- keywords: +patch pull_requests: +24272 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/25552 ___ Python tracker

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

2021-04-13 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- nosy: +Sergey.Kirpichev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-02-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: As things stand, given Serhiy comment, I agree. Like others, I don't like 'Integral', but also I don't like clunky special case code. -- priority: high -> normal versions: -Python 3.7 ___ Python

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

2018-02-21 Thread Mark Dickinson
Mark Dickinson added the comment: And it's Ned's call, of course, but this smells like a new feature rather than a fix to me, and I'm not sure why it would be considered special enough to break the usual release-process rules. Serhiy's point about pickles shows that

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

2018-02-21 Thread Mark Dickinson
Mark Dickinson added the comment: +1 for the Integer alias, if it can be made to work. The "Integral" name has always felt clunky and non-obvious to me. -- nosy: +mark.dickinson ___ Python tracker

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

2018-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Pickles containing a reference to Integer and created in new versions will be not compatible with older versions. -- nosy: +serhiy.storchaka ___ Python tracker

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

2018-02-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : 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