[Python-checkins] CVS: python/nondist/peps pep-0238.txt,1.11,1.12

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 27 Jul 2001 12:41:36 -0700


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv26174

Modified Files:
	pep-0238.txt 
Log Message:
Added the conversion of very large longs as an open issue.


Index: pep-0238.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0238.txt,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** pep-0238.txt	2001/07/27 18:07:12	1.11
--- pep-0238.txt	2001/07/27 19:41:34	1.12
***************
*** 194,198 ****
  
  
! Specification
  
      During the transitional phase, we have to support *three* division
--- 194,198 ----
  
  
! API Changes
  
      During the transitional phase, we have to support *three* division
***************
*** 355,358 ****
--- 355,365 ----
        need the same.  These usually have enough control over the
        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.