[issue15915] array.array does not support the buffer interface

2012-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: It simply wasn't converted in time for the 2.7 release. The new buffer API is considered something of a technical preview in Python 2.x. -- ___ Python tracker _

[issue15915] array.array does not support the buffer interface

2012-09-10 Thread Ellery Newcomer
Ellery Newcomer added the comment: relevant question, then, is why does array not support the new buffer interface while str and bytearray support both old and new? -- ___ Python tracker __

[issue15915] array.array does not support the buffer interface

2012-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: array.array supports the old buffer interface not the new one, which PyObject_CheckBuffer is part of. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker

[issue15915] array.array does not support the buffer interface

2012-09-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15915] array.array does not support the buffer interface

2012-09-10 Thread Ellery Newcomer
New submission from Ellery Newcomer: According to http://docs.python.org/library/array.html, array.array supports the buffer interface; however in python 2.7, PyObject_CheckBuffer says this is not the case. all is well in python 3.2, though. -- files: test.c messages: 170242 nosy: ell