Message132417
Did you see a compiler warning? Indeed, this function (mmap.move) decodes its arguments with:
PyArg_ParseTuple(args, "kkk:move", &dest, &src, &cnt)
This looks wrong to me: these three numbers should be Py_ssize_t, and decoded with "nnn".
An example of wrong behavior (on win32):
>>> m = mmap.mmap(-1, 500)
>>> m.move(2**32, 10, 4) # Should throw a ValueError |
|
Date |
User |
Action |
Args |
2011-03-28 20:17:37 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, rmib |
2011-03-28 20:17:36 | amaury.forgeotdarc | set | messageid: <1301343456.99.0.140908340082.issue11697@psf.upfronthosting.co.za> |
2011-03-28 20:17:36 | amaury.forgeotdarc | link | issue11697 messages |
2011-03-28 20:17:36 | amaury.forgeotdarc | create | |
|