[Python-Dev] Mini-Pep: Simplifying the Integral ABC (original) (raw)

Guido van Rossum guido at python.org
Fri Jun 6 20:01:20 CEST 2008


On Thu, Jun 5, 2008 at 8:45 PM, Raymond Hettinger <python at rcn.com> wrote:

Does anyone actually need an int lookalike with binary methods but cannot just inherit from int?

Does anyone actually need an int lookalike with operations like +, - etc. but cannot just inherit from int? If the answer is yes, is there a compelling reason why they wouldn't want to support binary methods as well?

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list