Message232244
| 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:08 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
| 2014年12月06日 14:25:06 | serhiy.storchaka | set | messageid: <1417875906.64.0.311564166909.issue23001@psf.upfronthosting.co.za> |
| 2014年12月06日 14:25:06 | serhiy.storchaka | link | issue23001 messages |
| 2014年12月06日 14:25:06 | serhiy.storchaka | create |
|