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 santoso.wijaya
Recipients benrg, meador.inge, santoso.wijaya, theller, vstinner
Date 2011-11-09.19:07:25
SpamBayes Score 0.0028338276
Marked as misclassified No
Message-id <1320865645.79.0.0831518052174.issue11427@psf.upfronthosting.co.za>
In-reply-to
Content
From what I understand, even in 2.7 the exception is expected. The doc for `from_buffer` says:

> The source object must support the writeable buffer interface.

Is there any reason why `from_buffer_copy` cannot be used, instead? The latter only requires readable buffer interface.
History
Date User Action Args
2011-11-09 19:07:25santoso.wijayasetrecipients: + santoso.wijaya, theller, vstinner, meador.inge, benrg
2011-11-09 19:07:25santoso.wijayasetmessageid: <1320865645.79.0.0831518052174.issue11427@psf.upfronthosting.co.za>
2011-11-09 19:07:25santoso.wijayalinkissue11427 messages
2011-11-09 19:07:25santoso.wijayacreate