This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients ash, benjamin.peterson, georg.brandl, pitrou
Date 2009-08-06.18:06:02
SpamBayes Score 3.1859128e-07
Marked as misclassified No
Message-id <1249581964.05.0.857603891634.issue6659@psf.upfronthosting.co.za>
In-reply-to
Content
Well, the terminology in these docs is not very precise and helpful.
There are two things here:
- the buffer /struct/ a.k.a Py_buffer, which can only be used from C
code and using the dedicated "new buffer API"
- the memoryview, which is a Python object (a PyObject *) wrapping a
buffer struct; as a PyObject *, it can be used everywhere a regular
Python object is expected (whether in C or in Python)

Then, as you point out, there's a third thing: the old "buffer" object
from Python 2.x; but it should not be mentioned at all in the 3.x docs,
since it's completely gone.

Endly... to be honest, I don't understand what the sentence you've
quoted is supposed to mean :-(, so I don't know how to correct it.
History
Date User Action Args
2009-08-06 18:06:04pitrousetrecipients: + pitrou, georg.brandl, benjamin.peterson, ash
2009-08-06 18:06:04pitrousetmessageid: <1249581964.05.0.857603891634.issue6659@psf.upfronthosting.co.za>
2009-08-06 18:06:02pitroulinkissue6659 messages
2009-08-06 18:06:02pitroucreate