[issue8991] PyArg_Parse*() functions: reject discontinious buffers

2010-07-27 Thread STINNER Victor
STINNER Victor added the comment: Commited to 3.2 (r83197). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue8991] PyArg_Parse*() functions: reject discontinious buffers

2010-06-14 Thread STINNER Victor
STINNER Victor added the comment: Write a patch. test_getargs2.py has now tests for many byte and unicode formats and so it can validate the patch. -- keywords: +patch Added file: http://bugs.python.org/file17671/reject_discontigious.patch ___ Pytho

[issue8991] PyArg_Parse*() functions: reject discontinious buffers

2010-06-13 Thread STINNER Victor
New submission from STINNER Victor : getbuffer() checks that the buffer is contiguous. "s#", "y", "z" formats use convertbuffer() which doesn't check that the buffer is contigious, as "w" and "w#" formats which call directly PyObject_GetBuffer() which extra check. I don't think that the functi