[New-bugs-announce] [issue17829] csv.Sniffer.snif doesn't set up the dialect properly for a csv created with dialect=csv.excel_tab and containing quote (") char

Ghislain Hivon report at bugs.python.org
Wed Apr 24 17:06:00 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue17829>
_______________________________________


More information about the New-bugs-announce mailing list