Message168340
| Author |
chris.jerdonek |
| Recipients |
asvetlov, chris.jerdonek, georg.brandl, gregory.p.smith, pitrou, r.david.murray |
| Date |
2012年08月15日.21:34:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1345066484.33.0.996274153748.issue12623@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Looking the code this test will fail on Windows. I cannot check it just now but looks like this is the problem.
Would it be possible to do something like the following to check this on a non-Windows machine (since the Python implementation of io respects the mutability of os.linesep but perhaps not the C version)? It seems so.
>>> import _pyio, io, os
>>> io.TextIOWrapper = _pyio.TextIOWrapper
>>> os.linesep = "\r\n"
etc. |
|