[issue32919] csv.reader() to support QUOTE_ALL

2018-03-05 Thread Pavel Shpilev
Pavel Shpilev added the comment: I know that CSV specification says empty field and empty string are the same, however, I still believe there is practical use for unconventional processing of such fields. In our specific case we parse CSVs produced by Amazon Athena

[issue32919] csv.reader() to support QUOTE_ALL

2018-03-03 Thread R. David Murray
R. David Murray added the comment: QUOTE_ALL only makes sense as an output control parameter, IMO. It is an output discipline but doesn't say anything about semantics. In csv format, an empty field and a field containing the empty quoted string are completely

[issue32919] csv.reader() to support QUOTE_ALL

2018-02-22 Thread Pavel Shpilev
New submission from Pavel Shpilev : It appears that in current implementation csv.QUOTE_ALL has no effect on csv. reader(), it only affects csv.writer(). I know that csv is a poorly defined format and all, but I think this might be useful to distinguish None and '' values