[issue16013] small csv reader bug
Armin Rigo
report at bugs.python.org
Mon Sep 24 15:03:12 CEST 2012
New submission from Armin Rigo:
A small bug of cvs.reader():
>>> list(csv.reader(['foo:"'], delimiter=':', quotechar='"'))
[]
Adding strict=True doesn't change anything. This is caused by the opening quote not followed by anything, which causes the error to be silently ignored and the last line to be dropped.
----------
components: Library (Lib)
messages: 171122
nosy: arigo
priority: normal
severity: normal
status: open
title: small csv reader bug
versions: Python 2.7, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16013>
_______________________________________
More information about the Python-bugs-list
mailing list