Message262694
| Author |
martin.panter |
| Recipients |
benjamin.peterson, martin.panter, pitrou, python-dev, serhiy.storchaka, stutzbach, viraptor |
| Date |
2016年03月31日.11:32:10 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1459423930.73.0.601260624299.issue22854@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I gave up on porting the fix to 2.7. Python 3 raises UnsupportedOperation (which inherits ValueError) in many cases due to Issue 9293, but Python 2 raises IOError (which does not inherit ValueError). Changing how BufferedWriter.read() etc work in Python 2 would break test_io_after_close(). Also, none of the doc strings in Python 2 need fixing.
Also according to the buildbots, Windows can seek in pipes. Or at least tell() doesn’t raise an exception. So I skipped the seek testing on Windows. |
|