[issue41085] Array regression test fails

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: That's a bug in array_array_index() which downcasts "Py_ssize_t i" to long: static PyObject * array_array_index(arrayobject *self, PyObject *v) /*[clinic end generated code: output=d48498d325602167 input=cf619898c6649d08]*/ { Py_ssize_t i; for (i = 0;

[issue41085] Array regression test fails

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: It's Python 3.10 on Windows built in 64-bit with Visual Studio. Extract of test_output.log: L:\GIT\cpython\PCbuild>"L:\GIT\cpython\PCbuild\amd64\python_d.exe" -u -Wd -E -bb -m test -u all,-curses -v -M 24Gb --header == CPython 3.10.0a0 (heads/master-dirty:

[issue41085] Array regression test fails

2020-06-23 Thread William Pickard
William Pickard added the comment: The only modification I made was to "rt.bat" to have the value of '-u' work properly. -- ___ Python tracker ___ ___

[issue41085] Array regression test fails

2020-06-22 Thread SilentGhost
SilentGhost added the comment: This looks like an overflow failure in a bigmem test (though the given limit 24Gb should accommodate that?). Do bigmem tests work on Windows? William, you've made some sort of modifications to the versioned files, what are those? -- components: +Window

[issue41085] Array regression test fails

2020-06-22 Thread William Pickard
New submission from William Pickard : Here's the verbose stack trace of the failing test: == FAIL: test_index (test.test_array.LargeArrayTest) -- Traceback (mo