Message173413
| Author |
serhiy.storchaka |
| Recipients |
barry, christian.heimes, r.david.murray, serhiy.storchaka |
| Date |
2012年10月20日.20:37:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1350765464.77.0.469864093705.issue16042@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I understand you, it's a patch against 2.7.
>+ def readline(self, size=-1):
In io.IOBase.readline() and in io.TextIOBase.readline() this parameter named "limit".
>+ if size is not None and len(str) == size:
>+ break
It can be moved to the while condition:
while chr != b"\n" and (size is None or len(str) < size): |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年10月20日 20:37:44 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, christian.heimes, r.david.murray |
| 2012年10月20日 20:37:44 | serhiy.storchaka | set | messageid: <1350765464.77.0.469864093705.issue16042@psf.upfronthosting.co.za> |
| 2012年10月20日 20:37:44 | serhiy.storchaka | link | issue16042 messages |
| 2012年10月20日 20:37:44 | serhiy.storchaka | create |
|