New submission from Ghislain Hivon:
When sniffing the dialect of a file created with the csv module with
dialect=csv.excel_tab and one of the row contain a quote ("), the delimiter is
set to ' ' instead of '\t'.
----------
files: csv_sniffing_excel_tab.py
messages: 187709
nosy: GhislainHivon
priority: normal
severity: normal
status: open
title: csv.Sniffer.snif doesn't set up the dialect properly for a csv created
with dialect=csv.excel_tab and containing quote (") char
type: behavior
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file30001/csv_sniffing_excel_tab.py
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17829>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com