Message291700
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. |
|
Date |
User |
Action |
Args |
2017-04-15 05:05:51 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, peter.otten, r.david.murray, Mariatta, keef604 |
2017-04-15 05:05:51 | terry.reedy | set | messageid: <1492232751.38.0.302314601127.issue30034@psf.upfronthosting.co.za> |
2017-04-15 05:05:51 | terry.reedy | link | issue30034 messages |
2017-04-15 05:05:50 | terry.reedy | create | |
|