[docs] [issue30625] Documentation is unclear how "y*" and "y#" format units vary

Stefan Krah report at bugs.python.org
Fri Jun 16 08:23:48 EDT 2017


Stefan Krah added the comment:

Okay thanks, it's good to hear what others think about the docs.

> So I have no clue why "y#" is refusing such an object.

"y#" is refusing memoryview(bytes) because "y#" only allows objects without a releasebufferproc and memoryview itself always has one.


I wonder if we could simply use the cleanup() solution also for "y#", but I have to look closer at this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30625>
_______________________________________


More information about the docs mailing list