Message126876
| Author |
lregebro |
| Recipients |
lregebro, r.david.murray, sjmachin, skip.montanaro, terry.reedy |
| Date |
2011年01月23日.07:09:44 |
| SpamBayes Score |
0.006409405 |
| Marked as misclassified |
No |
| Message-id |
<1295766588.18.0.994409014346.issue10954@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In the worst case, not checking for newline='' is not a big problem, as anyone moving from Python 2 to Python 3 will open the file in binary mode. That error message could tell the user to use binary mode newlines=''.
Using textmode and newlines is only likely to happen with people writing new code for Python 3 and not reading the docs, which is a different problem. :-) |
|