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

Stefan Krah report at bugs.python.org
Wed Jun 18 13:35:49 CEST 2014


Stefan Krah added the comment:

> The two issues were unrelated - the 'invalid filter ID'
> (4611686018427387905 == 0x40000000_00000001) is the correct
> value but the wrong branch in the switch was taken, leading
> to the error message.

Unfortunately I don't have a Visual Studio setup right now.

It seems to me that at the time the wrong branch is taken, f->id
could be in the registers in the wrong order (same as in msg170985),
but when the error message is printed, the value is read from
memory.  This is just a guess of course.


As Martin, I'm uncomfortable that the memoryview issue no longer
appears, but this one still does.


I've attached an alternative version of PyLong_AsUnsignedLongLong()
that is just intended for testing the compiler.


If the optimizer does whole progam optimization, it might choke
on _PyLong_AsByteArray().

----------

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


More information about the Python-bugs-list mailing list