[Python-Dev] Tail recursion
tim.one at comcast.net
Sat Nov 29 00:41:13 EST 2003
>> + - * // % ** pow and divmod on integers in Python will either
>> deliver an exact result or raise an exception (like MemoryError if
>> malloc() can't find enough space to hold an intermediate result).
> Except for ** if the exponent is negative.
Yup, and I do keep forgetting that -- it's just an accident due to that
we're stilling using floats to approximate rationals <wink>.
More information about the Python-Dev