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.

classification
Title: Simplify the Integral ABC
Type: Stage:
Components: Library (Lib) Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum, rhettinger
Priority: normal Keywords: patch

Created on 2008-06-05 22:33 by rhettinger, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
numbers.diff rhettinger, 2008-06-05 22:33 Diff for numbers.py
pep.diff rhettinger, 2008-06-05 22:34 Diff for PEP 3141
Messages (4)
msg67734 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2008-06-05 22:33
See attached patches.

The PEP is also updated for Exact/Inexact which were removed a good
while ago.
msg67735 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2008-06-05 22:50
Looks like you accidentally removed 2-arg __pow__ from the Complex ABC.
 This should stay of course.

Also, please add the binary operators back in a new ABC called Binary
deriving from Integral.
msg67738 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2008-06-05 23:06
Apologies.  Didn't know you wanted to go that direction.  Will leave
this for someone who wants to expand numbers.py rather than simplifying it.
msg67740 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2008-06-05 23:21
Excuuuuuse me? Have you actually been following the thread?
History
Date User Action Args
2022-04-11 14:56:35adminsetgithub: 47294
2008-06-05 23:21:56gvanrossumsetmessages: + msg67740
2008-06-05 23:06:17rhettingersetstatus: open -> closed
resolution: rejected
messages: + msg67738
2008-06-05 22:50:18gvanrossumsetmessages: + msg67735
2008-06-05 22:34:12rhettingersetfiles: + pep.diff
2008-06-05 22:33:35rhettingercreate