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 vstinner
Recipients benrg, meador.inge, santoso.wijaya, theller, vstinner
Date 2011-11-29.13:19:47
SpamBayes Score 0.0035388714
Marked as misclassified No
Message-id <1322572788.41.0.126449593927.issue11427@psf.upfronthosting.co.za>
In-reply-to
Content
.from_buffer() expects a modifiable buffer, bytes type is immutable. If .from_buffer() accepted an immutable buffer, it was a bug and the bug was fixed.

If you want to use bytes, use .from_buffer_copy() instead of .from_buffer().
History
Date User Action Args
2011-11-29 13:19:48vstinnersetrecipients: + vstinner, theller, meador.inge, santoso.wijaya, benrg
2011-11-29 13:19:48vstinnersetmessageid: <1322572788.41.0.126449593927.issue11427@psf.upfronthosting.co.za>
2011-11-29 13:19:47vstinnerlinkissue11427 messages
2011-11-29 13:19:47vstinnercreate