csv: No fields, or one field?

Neil Cerutti neilc at norwich.edu
Thu Apr 26 09:12:33 EDT 2012


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}
>
> 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.

-- 
Neil Cerutti



More information about the Python-list mailing list