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 kristjan.jonsson
Recipients benjamin.peterson, eric.araujo, kristjan.jonsson, lemburg
Date 2010-10-28.01:28:42
SpamBayes Score 2.79122e-07
Marked as misclassified No
Message-id <>
Do you mean that we should disable writing for the new style buffer interface?  Currently the patch respects the Buffer object's read-only flag (self->b_readonly):

static int buffer_getbuffer(PyBufferObject *self, Py_buffer *buf, int flags)
	void *ptr;
	Py_ssize_t size;
	if (!get_buf(self, &ptr, &size, ANY_BUFFER))
		return -1;
	return PyBuffer_FillInfo(buf, (PyObject*)self, ptr, size,
		self->b_readonly, flags);
Date User Action Args
2010-10-28 01:28:44kristjan.jonssonsetrecipients: + kristjan.jonsson, lemburg, benjamin.peterson, eric.araujo
2010-10-28 01:28:44kristjan.jonssonsetmessageid: <>
2010-10-28 01:28:42kristjan.jonssonlinkissue10211 messages
2010-10-28 01:28:42kristjan.jonssoncreate