New submission from ivank <i...@ludios.org>: 3 memoryview tests fail with Intel ICC 11.1. They don't fail with gcc 4.4.1-4ubuntu8 on the same machine.
====================================================================== FAIL: test_setitem_writable (__main__.BytesMemorySliceSliceTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_memoryview.py", line 98, in test_setitem_writable self._check_contents(tp, b, b"ababcf") File "Lib/test/test_memoryview.py", line 290, in _check_contents self.assertEquals(obj[1:7], tp(contents)) AssertionError: bytearray(b'ababaf') != bytearray(b'ababcf') ====================================================================== FAIL: test_setitem_writable (__main__.BytesMemorySliceTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_memoryview.py", line 98, in test_setitem_writable self._check_contents(tp, b, b"ababcf") File "Lib/test/test_memoryview.py", line 273, in _check_contents self.assertEquals(obj[1:7], tp(contents)) AssertionError: bytearray(b'ababaf') != bytearray(b'ababcf') ====================================================================== FAIL: test_setitem_writable (__main__.BytesMemoryviewTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_memoryview.py", line 98, in test_setitem_writable self._check_contents(tp, b, b"ababcf") File "Lib/test/test_memoryview.py", line 263, in _check_contents self.assertEquals(obj, tp(contents)) AssertionError: bytearray(b'ababaf') != bytearray(b'ababcf') # icc --version icc (ICC) 11.1 20090630 The OS is Ubuntu 9.10 64-bit in VMWare, running 2.6.31-16-server. My configure options are: export LANG=C ./configure --enable-unicode=ucs2 --with-gcc=icc --with-cxx-main=icc\ OPT="-O2 -w1 -fomit-frame-pointer -xHost -multibyte-chars -fp-model precise -no-prec-div" ---------- components: Library (Lib) messages: 97113 nosy: ivank severity: normal status: open title: test_memoryview test_setitem_writable failures with Intel ICC type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7616> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com