[ python-Bugs-741806 ] test_long failure
SourceForge.net
noreply at sourceforge.net
Tue Jan 25 17:28:50 CET 2005
Bugs item #741806, was opened at 2003-05-22 15:32
Message generated for change (Comment added) made by hoffmanm
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: Closed
Resolution: Fixed
Priority: 5
Submitted By: Martin Mokrejs (mmokrejs)
Assigned to: Neal Norwitz (nnorwitz)
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: Michael Hoffman (hoffmanm)
Date: 2005-01-25 16:28
Message:
Logged In: YES
user_id=987664
This is broken for gcc-3.4.3 on Tru64 5.1. Using the vendor
cc works fine.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-05-26 14:14
Message:
Logged In: YES
user_id=33168
Checked in as:
* configure 1.402
* configure.in 1.413
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-05-25 16:44
Message:
Logged In: YES
user_id=33168
This problem has a tentative solution. Please test the
patch in http://python.org/sf/719359
Scroll to the bottom and click Download on the
osf-opts.patch line. Thanks.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-05-24 11:40
Message:
Logged In: YES
user_id=21627
>From
http://sourceforge.net/tracker/download.php?group_id=5470&atid=305470&file_id=47386&aid=719359
----------------------------------------------------------------------
Comment By: Martin Mokrejs (mmokrejs)
Date: 2003-05-23 08:44
Message:
Logged In: YES
user_id=696559
Hmm, I see tthe patch in list of patches, but how to
download it? :(
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-05-22 21:08
Message:
Logged In: YES
user_id=33168
Patch 719359 should fix this problem. Can you test this patch?
----------------------------------------------------------------------
Comment By: Martin Mokrejs (mmokrejs)
Date: 2003-05-22 15: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
More information about the Python-bugs-list
mailing list