➜

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
标题: Simplify the Integral ABC
类型: Stage:
Components: Library (Lib) Versions: Python 3.0, Python 2.6
process
状态: closed Resolution: rejected
Dependencies: 后续:
分配给: gvanrossum 抄送列表: gvanrossum, rhettinger
优先级: normal 关键字: patch

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

文件
文件名 上传时间 Description 编辑
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) 日期: 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) 日期: 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) 日期: 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) 日期: 2008-06-05 23:21
Excuuuuuse me? Have you actually been following the thread?
历史
日期 用户 动作 参数
2022-04-11 14:56:35admin修改github: 47294
2008-06-05 23:21:56gvanrossum修改消息: + msg67740
2008-06-05 23:06:17rhettinger修改状态: open -> closed
resolution: rejected
消息: + msg67738
2008-06-05 22:50:18gvanrossum修改消息: + msg67735
2008-06-05 22:34:12rhettinger修改文件: + pep.diff
2008-06-05 22:33:35rhettinger创建