Serhiy Storchaka <storch...@gmail.com> wrote: > 4. The consumer has NOT requested writable buffer, can readonly flag > of provided buffer be false anyway?
Yes, per the new documentation. This is not explicitly mentioned in the PEP but was existing practice and greatly simplifies several things: http://docs.python.org/dev/c-api/buffer.html#PyBUF_WRITABLE Stefan Krah _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com