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