Message262019
| Author | martin.panter |
|---|---|
| Recipients | benjamin.peterson, martin.panter, pitrou, serhiy.storchaka, stutzbach |
| Date | 2016-03-19.06:32:04 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1458369127.79.0.56325535419.issue23214@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Okay here is a patch implementing read1(-1) in BufferedReader and BytesIO (my original proposal). Other changes: * Changed read1(size=-1) → read1([size]), because BufferedReader and BytesIO do not accept keyword arguments (see also Issue 23738) * Defined size=-1 to mean an arbitrary non-zero size * Change BufferedReader.read1() to return a buffer of data * Change BytesIO.read1() to read until EOF * Add tests to complement existing read1(size) tests for BufferedReader (includes BufferedRandom), BufferedRWPair, and BytesIO |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-03-19 06:32:07 | martin.panter | set | recipients: + martin.panter, pitrou, benjamin.peterson, stutzbach, serhiy.storchaka |
| 2016-03-19 06:32:07 | martin.panter | set | messageid: <1458369127.79.0.56325535419.issue23214@psf.upfronthosting.co.za> |
| 2016-03-19 06:32:07 | martin.panter | link | issue23214 messages |
| 2016-03-19 06:32:07 | martin.panter | create | |