[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

Stefan Krah report at bugs.python.org
Fri Sep 21 00:05:45 CEST 2012


Stefan Krah added the comment:

Both lzma and memoryview use PyLong_AsUnsignedLongLong() in the
affected code paths. I get this with the msi installed python.exe:

>>> import array
>>> a = array.array('Q', [1,2,3,4])
>>> m = memoryview(a)
>>> m[0] = 4
>>> m[0]
17179869184
>>>


And the correct result with the self-compiled (PGO) python.exe:

>>> import array
>>> a = array.array('Q', [1,2,3,4])
>>> m = memoryview(a)
>>> m[0] = 4
>>> m[0]
4

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15993>
_______________________________________


More information about the Python-bugs-list mailing list