Message238350
| Author | serhiy.storchaka |
|---|---|
| Recipients | serhiy.storchaka, vstinner, wolma |
| Date | 2015-03-17.22:16:10 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1844057.3rvGZ4Q5zV@raxxla> |
| In-reply-to | <1426628628.35.0.00976295947648.issue23688@psf.upfronthosting.co.za> |
| Content | |
|---|---|
> With and without the patch, write() accepts bytes, bytearray and memoryview. > Which other byte-like types do you know? The "bytes-like object" term is used as an alias of "an instance of type that supports buffer protocol". Besides bytes, bytearray and memoryview, this is array.array and NumPy arrays. file.write() supports arbitrary bytes-like objects, including array.array and NumPy arrays. > writeframesraw() method of aifc, sunau and wave modules use this pattern: Yes, I wrote this code, if I remember correct. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-03-17 22:16:10 | serhiy.storchaka | set | recipients: + serhiy.storchaka, vstinner, wolma |
| 2015-03-17 22:16:10 | serhiy.storchaka | link | issue23688 messages |
| 2015-03-17 22:16:10 | serhiy.storchaka | create | |