[New-bugs-announce] [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>

More information about the New-bugs-announce mailing list