[Python-Dev] bytes-like objects
Nick Coghlan
ncoghlan at gmail.com
Tue Oct 7 10:59:47 CEST 2014
On 7 Oct 2014 00:31, "Christian Tismer" <tismer at stackless.com> wrote:
>
> 2)
> And about this glossary entry:
>
> "An object that supports the Buffer Protocol"
> - can I take that for granted, as a real definition, meaning
>
> """an object is bytes-like iff it supports the buffer protocol"""?
Yes, although we should likely update it to say the requirement is for
"memoryview(obj)" to work, with the C level buffer protocol being the only
current way to support that on CPython.
Cheers,
Nick.
>
> cheers - Chris
>
> --
> Christian Tismer :^) tismer at stackless.com
> Software Consulting : http://www.stackless.com/
> Karl-Liebknecht-Str. 121 : http://www.pydica.net/
> 14482 Potsdam : GPG key -> 0xFB7BEE0E
> phone +49 173 24 18 776 fax +49 (30) 700143-0023
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20141007/620564e6/attachment.html>
More information about the Python-Dev
mailing list