This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ivank
Recipients ivank
Date 2010-01-01.05:38:02
SpamBayes Score 5.726469e-10
Marked as misclassified No
Message-id <1262324287.94.0.590004351292.issue7616@psf.upfronthosting.co.za>
In-reply-to
Content
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"
History
Date User Action Args
2010-01-01 05:38:08ivanksetrecipients: + ivank
2010-01-01 05:38:07ivanksetmessageid: <1262324287.94.0.590004351292.issue7616@psf.upfronthosting.co.za>
2010-01-01 05:38:05ivanklinkissue7616 messages
2010-01-01 05:38:02ivankcreate