Serhiy Storchaka added the comment:

You can overwrite fieldnames getter.

    @property
    def fieldnames(self):
        if self._fieldnames is None:
            try:
                self._fieldnames = next(self.reader)
            except StopIteration:
                pass
        self.line_num = self.reader.line_num
        if not isinstance(self._fieldnames, ListInsensitive):
            self._fieldnames = ListInsensitive(name.strip().lower() for name in 
self._fieldnames)
        return self._fieldnames

----------
nosy: +serhiy.storchaka

_______________________________________
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

Reply via email to