[New-bugs-announce] [issue3056] Simplify the Integral ABC

Raymond Hettinger report at bugs.python.org
Sat Jun 7 03:57:25 CEST 2008


New submission from Raymond Hettinger <rhettinger at users.sourceforge.net>:

* 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__.

----------
assignee: gvanrossum
components: Library (Lib)
files: numbers2.diff
keywords: patch
messages: 67792
nosy: gvanrossum, rhettinger
severity: normal
status: open
title: Simplify the Integral ABC
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file10539/numbers2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3056>
_______________________________________


More information about the New-bugs-announce mailing list