Nick Coghlan <ncogh...@gmail.com> added the comment:

Antoine's patch looks good to me.

Given the assumptions in the memoryview code, disallowing NULL for the buf 
pointer sounds like the right thing to do, even for zero-length buffers.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11286>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to