[issue7616] test_memoryview test_setitem_writable failures with Intel ICC

2010-07-11 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Thank you. This was fixed in r82814 (py3k), r82815 (2.7), r82816 (3.1).

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7616] test_memoryview test_setitem_writable failures with Intel ICC

2010-07-11 Thread Stefan Krah

Stefan Krah  added the comment:

Antoine, the patch works well.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7616] test_memoryview test_setitem_writable failures with Intel ICC

2010-07-11 Thread Michael Foord

Changes by Michael Foord :


--
nosy:  -michael.foord

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7616] test_memoryview test_setitem_writable failures with Intel ICC

2010-07-11 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Can you try with the following patch?

--
keywords: +patch
nosy: +pitrou
Added file: http://bugs.python.org/file17942/memmove.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7616] test_memoryview test_setitem_writable failures with Intel ICC

2010-07-11 Thread Stefan Krah

Stefan Krah  added the comment:

Confirmed with release27-maint, icc 11.0.

--
nosy: +skrah

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7616] test_memoryview test_setitem_writable failures with Intel ICC

2010-07-11 Thread Mark Lawrence

Changes by Mark Lawrence :


--
components: +Tests -Library (Lib)
nosy: +michael.foord
versions: +Python 3.1, Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7616] test_memoryview test_setitem_writable failures with Intel ICC

2009-12-31 Thread ivank

New submission from ivank :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com