Added the conversion of very large longs as an open issue.

This commit is contained in:
Guido van Rossum 2001-07-27 19:41:34 +00:00
parent e597ec7194
commit b1aa62b3b8
1 changed files with 8 additions and 1 deletions

View File

@ -193,7 +193,7 @@ Alternatives
multiple interpreters installed. multiple interpreters installed.
Specification API Changes
During the transitional phase, we have to support *three* division During the transitional phase, we have to support *three* division
operators within the same program: classic division (for / in operators within the same program: classic division (for / in
@ -355,6 +355,13 @@ Open Issues
need the same. These usually have enough control over the need the same. These usually have enough control over the
library packages available in their environment. library packages available in their environment.
- For very large long integers, the definition of true division as
returning a float causes problems, since the range of Python
longs is much larger than that of Python floats. This problem
will disappear if and when rational numbers are supported. In
the interim, maybe the long-to-float conversion could be made to
raise OverflowError if the long is out of range.
FAQ FAQ