csv: No fields, or one field?

Terry Reedy tjreedy at udel.edu
Thu Apr 26 12:47:27 EDT 2012


On 4/26/2012 9:12 AM, Neil Cerutti wrote:
> On 2012-04-26, Neil Cerutti<neilc at norwich.edu>  wrote:
>> I made the following wrong assumption about the csv EBNF
>> recognized by Python (ignoring record seps):
>>
>> record ->  field {delim field}

Is that in the docs?

>>
>> There's at least some csv "standard" documents requiring my
>> interprestion, e.g.,
>>
>> http://mastpoint.curzonnassau.com/csv-1203/CSV-1203.pdf
>>
>> but by no means all. That's why I thought it might be something
>> that should be documented rather than discovered.
>
> Of particular note, a recent patch added a reference to RFC4180
> (though not stating that it is compliant), which also does not
> recognize zero field length records.

Feel free to open a tracker issue suggesting specific doc changes.
-- 
Terry Jan Reedy




More information about the Python-list mailing list