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 Daniel Moisset
Recipients Daniel Moisset
Date 2016-07-12.18:07:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468346843.82.0.455431578723.issue27501@psf.upfronthosting.co.za>
In-reply-to
Content
The buffer protocol is a low level C protocol, but even if it doesn't expose a specific python API, it's currently not possible to say "this object implements the buffer protocol" in Python

This might be useful for some applications, including PEP-484 typing hints. It would be useful to have a collections.abc.Buffer which already registers the types that already support the protocol (bytes, strings, array.array, struct, mmap, ctype arrays/pointers, etc)
History
Date User Action Args
2016-07-12 18:07:23Daniel Moissetsetrecipients: + Daniel Moisset
2016-07-12 18:07:23Daniel Moissetsetmessageid: <1468346843.82.0.455431578723.issue27501@psf.upfronthosting.co.za>
2016-07-12 18:07:23Daniel Moissetlinkissue27501 messages
2016-07-12 18:07:23Daniel Moissetcreate