[Python-Dev] Comparing heterogeneous types
Aahz
aahz at pythoncraft.com
Fri Jun 25 10:29:57 EDT 2004
On Thu, Jun 24, 2004, Andrew Koenig wrote:
>Guido:
>>
>> No, the return type shouldn't depend on the input values.
>
> It does already:
>
> >>> 1000000000 + 1000000000
> 2000000000
> >>> 2000000000 + 2000000000
> 4000000000L
Yes, and that's strictly a transitional wart.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Typing is cheap. Thinking is expensive." --Roy Smith, c.l.py
More information about the Python-Dev
mailing list