Message125818
| Author | eric.araujo |
|---|---|
| Recipients | eric.araujo, jaraco, pitrou |
| Date | 2011-01-09.01:11:17 |
| SpamBayes Score | 0.019100398 |
| Marked as misclassified | No |
| Message-id | <1294535479.68.0.441730256572.issue10639@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I did a bit of testing on demo files. The first one I tested with had mixed EOLs, in which case the newlines attribute will be a tuple and open(..., newline=r.newlines) will fail. For reference: http://docs.python.org/dev/library/io#io.TextIOBase.newlines What would be the best behavior in such cases? Refuse the temptation to guess and exit? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-01-09 01:11:19 | eric.araujo | set | recipients: + eric.araujo, jaraco, pitrou |
| 2011-01-09 01:11:19 | eric.araujo | set | messageid: <1294535479.68.0.441730256572.issue10639@psf.upfronthosting.co.za> |
| 2011-01-09 01:11:17 | eric.araujo | link | issue10639 messages |
| 2011-01-09 01:11:17 | eric.araujo | create | |