Message148852
| Author |
Jon.Kuhn |
| Recipients |
Jon.Kuhn, orsenthil, pitrou, r.david.murray |
| Date |
2011年12月04日.16:54:48 |
| SpamBayes Score |
1.1168209e-05 |
| Marked as misclassified |
No |
| Message-id |
<1323017689.19.0.266051766083.issue13464@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Thanks for the comments. Attached is an updated patch.
In the RawIOBase docs it says "If the object is in non-blocking mode and no bytes are available, None is returned." So I wasn't sure if that meant any time no bytes were available or just when no bytes are available and EOF has not been reached. -- I updated it to return 0 instead of None.
I simplified _read_chunked() and renamed it to _readall_chunked() since that is all it does.
I added the versionadded tag specifying that it was added in 3.3 since the patch is for the default branch. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月04日 16:54:49 | Jon.Kuhn | set | recipients:
+ Jon.Kuhn, orsenthil, pitrou, r.david.murray |
| 2011年12月04日 16:54:49 | Jon.Kuhn | set | messageid: <1323017689.19.0.266051766083.issue13464@psf.upfronthosting.co.za> |
| 2011年12月04日 16:54:48 | Jon.Kuhn | link | issue13464 messages |
| 2011年12月04日 16:54:48 | Jon.Kuhn | create |
|