STINNER Victor <victor.stin...@haypocalc.com> added the comment: Le mardi 28 septembre 2010 22:24:56, vous avez écrit : > I disagree. PyObject_As*Buffer functions are remnants of the old buffer > API in Python 2.x. They are here only to ease porting of existing C > code, but carefully written 3.x code should switch to > PyObject_GetBuffer() (or one of the dedicated typecodes in > PyArg_ParseTuple: "y*", "w*", etc.).
Do you mean that PyObject_As*Buffer functions are deprecated? The documentation doesn't tell that the new buffer API should be use instead. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9602> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com