[issue2538] memoryview of bytes is not readonly

Gregory P. Smith report at bugs.python.org
Mon Apr 7 09:42:06 CEST 2008


Gregory P. Smith <greg at krypto.org> added the comment:

This patch looks good.

One question: in Objects/abstract.c in PyBuffer_FillInfo, why is it even
testing for the PyBUF_LOCK flag at all?  PEP 3118 says its valid for
both reading and writing (if the underlying object supports locked access).

BTW, I is someone is going to merge any py3k buffer api related changes
back into the backport that is in 2.6?

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2538>
__________________________________


More information about the Python-bugs-list mailing list