Message223339
| Author |
r.david.murray |
| Recipients |
msp, r.david.murray, vstinner |
| Date |
2014年07月17日.14:35:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1405607750.9.0.303865314683.issue21946@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is the documented behavior of the -u option. It puts the streams in binary mode "on systems where it matters", which would be windows. That is, universal newline processing is disabled when you use -u.
Note that this is no longer an issue in python3: there, -u only affects buffering, and not the binary/text mode (because in python3 there is always a distinction between binary and text mode, regardless of platform). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年07月17日 14:35:50 | r.david.murray | set | recipients:
+ r.david.murray, vstinner, msp |
| 2014年07月17日 14:35:50 | r.david.murray | set | messageid: <1405607750.9.0.303865314683.issue21946@psf.upfronthosting.co.za> |
| 2014年07月17日 14:35:50 | r.david.murray | link | issue21946 messages |
| 2014年07月17日 14:35:50 | r.david.murray | create |
|