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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16013>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to