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 terry.reedy
Recipients Mariatta, keef604, peter.otten, r.david.murray, rhettinger, terry.reedy
Date 2017-04-15.05:05:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492232751.38.0.302314601127.issue30034@psf.upfronthosting.co.za>
In-reply-to
Content
Keith, while I sympathize with the request, I am going to agree with the others and close this.  As I see it, csv exists to solve a particular problem.  We want a printable file of records and text fields with visible field and record separators, but we may want to use those separators within fields.  So we add a quote character as an auxiliary delimiter and ignore separators within quotes.  Files with mismatched quotes are broken.

You are willing to append a quote, even though that may be the wrong thing to do.  Alternatives include: skip the line, perhaps after logging it; delete the last quote to make the count even; provide a more sophisticated auto-editing function; or display a GUI entry box initialized to the bad line and request the user to edit until quotes are matched.  I don't think we should pick any of these.
History
Date User Action Args
2017-04-15 05:05:51terry.reedysetrecipients: + terry.reedy, rhettinger, peter.otten, r.david.murray, Mariatta, keef604
2017-04-15 05:05:51terry.reedysetmessageid: <1492232751.38.0.302314601127.issue30034@psf.upfronthosting.co.za>
2017-04-15 05:05:51terry.reedylinkissue30034 messages
2017-04-15 05:05:50terry.reedycreate