[pypy-svn] r13802 - pypy/dist/pypy/objspace/std

mwh at codespeak.net mwh at codespeak.net
Fri Jun 24 15:51:58 CEST 2005


Author: mwh
Date: Fri Jun 24 15:51:58 2005
New Revision: 13802

Modified:
   pypy/dist/pypy/objspace/std/strutil.py
Log:
Note a flaw.


Modified: pypy/dist/pypy/objspace/std/strutil.py
==============================================================================
--- pypy/dist/pypy/objspace/std/strutil.py	(original)
+++ pypy/dist/pypy/objspace/std/strutil.py	Fri Jun 24 15:51:58 2005
@@ -213,6 +213,8 @@
         i += 1
 
     if exponent:
+        # XXX this fails for float('0.' + '0'*100 + '1e400')
+        # XXX later!
         try:
             e = string_to_int(exponent)
         except ParseStringOverflowError:



More information about the Pypy-commit mailing list