This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Philip Martin
Recipients Philip Martin
Date 2016-03-27.00:45:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459039505.55.0.691901894808.issue26648@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-03-27 00:45:05Philip Martinsetrecipients: + Philip Martin
2016-03-27 00:45:05Philip Martinsetmessageid: <1459039505.55.0.691901894808.issue26648@psf.upfronthosting.co.za>
2016-03-27 00:45:05Philip Martinlinkissue26648 messages
2016-03-27 00:45:05Philip Martincreate