Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: Comment lines in csv data may be common in some areas, but they are not part of any standard, and they are not the only possible extension to csv files (for example: ignore empty lines, or a terminal \ for line continuation...)
Currently all members of Dialect deal with the format of the records, not with the extraction of records from the file. (lineterminator is used only when writing). The "CommentedFile" filter above is a good recipe for all cases, and is easy to use. I recommend closing this issue. ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1225769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com