➜

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.3
process
状态: closed Resolution: out of date
Dependencies: 后续:
分配给: jyasskin 抄送列表: ezio.melotti, gvanrossum, jyasskin, python-dev, rhettinger
优先级: low 关键字: patch

Created on 2008-06-07 01:57 by rhettinger, last changed 2022-04-11 14:56 by admin. This issue is now closed.

文件
文件名 上传时间 Description 编辑
numbers2.diff rhettinger, 2008-06-07 01:57 Diff for numbers.py review
pep2.diff rhettinger, 2008-06-07 02:01 Diff for the PEP
numbers3.diff rhettinger, 2008-06-15 16:24 Path allowing right hand operand to override a binary operation review
Messages (12)
msg67792 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) 日期: 2008-06-07 01:57
* Reduce Integral to just a single additional abstract method.
* Supply the binary operations as mixins instead of abstract methods.
* Three argument __pow__ is now optional.
* Convert with __int__ instead of __long__.
msg67826 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) 日期: 2008-06-08 08:35
Is the patch good to go?
msg67941 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) 日期: 2008-06-11 04:31
Not really, see the reply I sent to the checkin mail.
msg68253 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) 日期: 2008-06-16 01:07
Not much feedback on comp.lang.python.

Does numbers3.diff look like what you had in mind?
msg68256 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) 日期: 2008-06-16 02:23
Mostly, but I *really* want to see unittests for this.
msg68318 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) 日期: 2008-06-17 12:43
Jeffrey, do you have an interest in taking it from here?
msg68332 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) 日期: 2008-06-17 17:05
Raymond, mind if we roll back your previous (incorrect) changes?  They
really should not have been submitted in the first place.
msg68333 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) 日期: 2008-06-17 17:17
No problem.  Whatever you think is best.

Still hoping that Jeffrey can take a look at the mixin approach and the 
__rand__ logic.  No one else seems to have an interest and I won't have 
time to write the tests for a few days (they are complicated because 
Integral requires so many abstract methods to be defined before it will 
instantiate).
msg68991 - (view) Author: Jeffrey Yasskin (jyasskin) * (Python committer) 日期: 2008-06-30 04:15
Yeah, I'll take a look. Feel free to bug me if I haven't gotten to it in
a couple more days.
msg90103 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) 日期: 2009-07-04 03:26
Ping?
msg133631 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) 日期: 2011-04-13 01:25
I've long since lost interest in this.
If anyone wants to push it forward,
feel free to re-open.
msg186901 - (view) Author: Roundup Robot (python-dev) (Python triager) 日期: 2013-04-14 09:59
New changeset 4678259af5a4 by Georg Brandl in branch '2.7':
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)
http://hg.python.org/cpython/rev/4678259af5a4

New changeset 1d4ba14cc505 by Georg Brandl in branch '3.3':
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)
http://hg.python.org/cpython/rev/1d4ba14cc505
历史
日期 用户 动作 参数
2022-04-11 14:56:35admin修改github: 47306
2013-04-14 09:59:05python-dev修改抄送: + python-dev
消息: + msg186901
2011-04-13 01:25:29rhettinger修改状态: open -> closed
resolution: out of date
消息: + msg133631
2011-03-23 06:01:34rhettinger修改优先级: normal -> low
抄送: gvanrossum, rhettinger, jyasskin, ezio.melotti
versions: + Python 3.3, - Python 2.6, Python 3.0
2009-07-04 03:26:52ezio.melotti修改优先级: normal
抄送: + ezio.melotti
消息: + msg90103

2008-06-30 04:15:46jyasskin修改消息: + msg68991
2008-06-17 17:17:32rhettinger修改消息: + msg68333
2008-06-17 17:05:02gvanrossum修改消息: + msg68332
2008-06-17 12:43:21rhettinger修改assignee: rhettinger -> jyasskin
消息: + msg68318
抄送: + jyasskin
2008-06-16 02:23:39gvanrossum修改assignee: gvanrossum -> rhettinger
2008-06-16 02:23:25gvanrossum修改消息: + msg68256
2008-06-16 01:07:06rhettinger修改消息: + msg68253
2008-06-15 16:24:38rhettinger修改文件: + numbers3.diff
2008-06-11 04:31:07gvanrossum修改消息: + msg67941
2008-06-08 08:35:35rhettinger修改消息: + msg67826
2008-06-07 02:01:44rhettinger修改文件: + pep2.diff
2008-06-07 01:57:24rhettinger创建