Message262502
Currently, the error message:
_csv.Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?
is cryptic in that universal line mode has been deprecated, and will not run in Python 3.5., i.e.:
open(escape_path, "rU", encoding=ENCODING)
>>> DeprecationWarning: 'U' mode is deprecated
I think a message indicating a suggestion to open the file with newline='' to enable universal line mode is more insightful. |
|
Date |
User |
Action |
Args |
2016-03-27 00:45:05 | Philip Martin | set | recipients:
+ Philip Martin |
2016-03-27 00:45:05 | Philip Martin | set | messageid: <1459039505.55.0.691901894808.issue26648@psf.upfronthosting.co.za> |
2016-03-27 00:45:05 | Philip Martin | link | issue26648 messages |
2016-03-27 00:45:05 | Philip Martin | create | |
|