[Python-bugs-list] [ python-Bugs-741806 ] test_long failure
SourceForge.net
noreply@sourceforge.net
Thu, 22 May 2003 08:54:37 -0700
Bugs item #741806, was opened at 2003-05-22 17:32
Message generated for change (Comment added) made by mmokrejs
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=741806&group_id=5470
Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Mokrejs (mmokrejs)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_long failure
Initial Comment:
$ python Lib/test/test_long.pyc
long / * % divmod
Karatsuba
long bit-operation identities
long str/hex/oct/atol
long miscellaneous operations
auto-convert int->long on overflow
long->float overflow
Traceback (most recent call last):
File "/mnt/Python-2.3b1/Lib/test/test_long.py", line
442, in ?
test_float_overflow()
File "/mnt/Python-2.3b1/Lib/test/test_long.py", line
394, in test_float_overflow
eval(test, namespace)
File "<string>", line 0, in ?
ValueError: invalid literal for float():
12345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345
$
This happens on Tru64Unix 5.1A, cc/cxx compiled binaries.
----------------------------------------------------------------------
>Comment By: Martin Mokrejs (mmokrejs)
Date: 2003-05-22 17:54
Message:
Logged In: YES
user_id=696559
${ac_dA}SIZEOF_LONG${ac_dB}SIZEOF_LONG${ac_dC}8${ac_dD}
${ac_dA}HAVE_LONG_LONG${ac_dB}HAVE_LONG_LONG${ac_dC}1${ac_dD}
${ac_dA}SIZEOF_LONG_LONG${ac_dB}SIZEOF_LONG_LONG${ac_dC}8${ac_dD}
${ac_uA}SIZEOF_LONG${ac_uB}SIZEOF_LONG${ac_uC}8${ac_uD}
${ac_uA}HAVE_LONG_LONG${ac_uB}HAVE_LONG_LONG${ac_uC}1${ac_uD}
${ac_uA}SIZEOF_LONG_LONG${ac_uB}SIZEOF_LONG_LONG${ac_uC}8${ac_uD}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=741806&group_id=5470