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 skrah
Recipients docs@python, ezio.melotti, martin.panter, pitrou, r.david.murray, serhiy.storchaka, skrah
Date 2015-08-08.12:09:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I would commit this, except that I'm not too happy with the use of
the term "bytes-like" in general. Yesterday I mistyped this:

>>> import ctypes
>>> x = ctypes.c_double
>>> m = memoryview(x)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: memoryview: a bytes-like object is required, not '_ctypes.PyCSimpleType'

The previous error message was (changed in #16518) was:

"_ctypes.PyCSimpleType does not support the buffer interface".

Which I find much clearer. Memoryviews (for better or worse,
but PEP-3118 was accepted) are Mini-NumPy-arrays. I'm still not
sure if we should hide that from users.
Date User Action Args
2015-08-08 12:09:21skrahsetrecipients: + skrah, pitrou, ezio.melotti, r.david.murray, docs@python, martin.panter, serhiy.storchaka
2015-08-08 12:09:21skrahsetmessageid: <>
2015-08-08 12:09:21skrahlinkissue23756 messages
2015-08-08 12:09:20skrahcreate