[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

Joseph Tate report at bugs.python.org
Thu Jul 30 22:24:53 CEST 2009


New submission from Joseph Tate <jtate+python at dragonstrider.com>:

Given the attached code, the Sniffer.sniff routine does not set the
doublequote property.  This results in errors during reader operations.
 If the doublequote property is set in the dialect, the data is read
properly.

The data was created using oocalc, forcing it to use ascii quotes rather
than u'\u201c\u201d'.

----------
components: Library (Lib)
files: foo.py
messages: 91109
nosy: jtate
severity: normal
status: open
title: csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly
type: behavior
versions: Python 2.4, Python 2.6
Added file: http://bugs.python.org/file14609/foo.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6606>
_______________________________________


More information about the Python-bugs-list mailing list