[issue16297] csv.DictReader
tb
report at bugs.python.org
Mon Oct 22 10:27:29 CEST 2012
New submission from tb:
The csv.DictReader contains a setter method for the fieldnames (@fieldnames.setter). However, the __init__ method does not make use of the setter method as it sets _fieldnames directly. To allow users correct/functional overriding of the fieldnames.setter method I would propose changing the line
self._fieldnames = fieldnames
to
self.fieldnames = fieldnames
----------
components: Library (Lib)
messages: 173500
nosy: tb
priority: normal
severity: normal
status: open
title: csv.DictReader
type: behavior
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16297>
_______________________________________
More information about the Python-bugs-list
mailing list