Message239245
| Author |
martin.panter |
| Recipients |
Arfrever, martin.panter, nikratio, pitrou, serhiy.storchaka, wolma |
| Date |
2015年03月25日.10:20:23 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1427278825.03.0.463354967143.issue23529@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Another behaviour change in v7 is the seekable() return value is now inherited from underlying file, instead of always being True. I mentioned on Reitveld why this could be a bad idea, but as it is undocumented and untested and will leave the new behaviour unless someone complains.
Posting v8, with these changes from v7:
* Reverted _read_exact() and read() loop changes to fix tests
* Restored myfileobj attribute and test that it is closed
* Clean up gzip read() loop so that it always returns data if available, rather than raising EOFError
* Document the read(None) is now allowed
* Other minor changes addressing review comments |
|