Serhiy Storchaka added the comment:
Here is a patch which replaces deprecated functions with PyObject_GetBuffer()
and like. It also introduce _PyBuffer_Converter for using in PyArgs_Parse* and
clinic converter simple_buffer_converter which unlike to Py_buffer_converter
("y*") does not not force C contiguousity (is it correct?).
----------
keywords: +patch
nosy: +larry, pitrou
stage: needs patch -> patch review
Added file: http://bugs.python.org/file37272/buffers.diff
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22896>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com