Issue 3044: Simplify the Integral ABC (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/47294

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:35 admin set github: 47294
2008-06-05 23:21:56 gvanrossum set messages: +
2008-06-05 23:06:17 rhettinger set status: open -> closedresolution: rejectedmessages: +
2008-06-05 22:50:18 gvanrossum set messages: +
2008-06-05 22:34:12 rhettinger set files: + pep.diff
2008-06-05 22:33:35 rhettinger create