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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2014-12-06.14:25:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417875906.64.0.311564166909.issue23001@psf.upfronthosting.co.za>
In-reply-to
Content
Some builtins accept only read-only bytes-like objects (PyArg_Parse format codes "s#", "z#", "y", and "y#"). Proposed patch makes them accepting also mutable bytes-like objects such as bytearray.

I'm not sure that all these changes are useful, but in some cases this can get rid of copying binary data created in bytearray (e.g. read by readinto()).
History
Date User Action Args
2014-12-06 14:25:08serhiy.storchakasetrecipients: + serhiy.storchaka
2014-12-06 14:25:06serhiy.storchakasetmessageid: <1417875906.64.0.311564166909.issue23001@psf.upfronthosting.co.za>
2014-12-06 14:25:06serhiy.storchakalinkissue23001 messages
2014-12-06 14:25:06serhiy.storchakacreate