[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 <http://bugs.python.org/issue15

[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

[issue15913] PyBuffer_SizeFromFormat is missing

2012-09-10 Thread Ellery Newcomer
New submission from Ellery Newcomer: this function is listed in the buffer docs and in abstract.h, but there is no implementation anywhere. -- components: None messages: 170239 nosy: ellery.newcomer priority: normal severity: normal status: open title: PyBuffer_SizeFromFormat is