This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients Austin Bingham, christian.heimes, gvanrossum, mark.dickinson, rhettinger, robert_smallshire, serhiy.storchaka, tim.peters
Date 2020-10-04.08:13:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601799234.82.0.859262937759.issue26680@roundup.psfhosted.org>
In-reply-to
Content
I interpreted "in the numeric tower" as meaning declared as an abstract method that all those registering with the class would have to implement. As you point out in msg350173, that would be problematic - adding new methods to published interfaces is pretty much a no-no for backwards compatibility reasons.

But that's not what happened here. Robert's original patch *did* add is_integer as an abstract method. The PR that was merged did not - it was added as a concrete method, as a convenience for those using the ABCs via direct subclassing rather than registering.
History
Date User Action Args
2020-10-04 08:13:54mark.dickinsonsetrecipients: + mark.dickinson, gvanrossum, tim.peters, rhettinger, christian.heimes, serhiy.storchaka, robert_smallshire, Austin Bingham
2020-10-04 08:13:54mark.dickinsonsetmessageid: <1601799234.82.0.859262937759.issue26680@roundup.psfhosted.org>
2020-10-04 08:13:54mark.dickinsonlinkissue26680 messages
2020-10-04 08:13:54mark.dickinsoncreate