diff -r c10ea224392d Lib/csv.py --- a/Lib/csv.py Sat Dec 14 20:34:33 2013 +0200 +++ b/Lib/csv.py Tue Dec 17 11:35:18 2013 -0500 @@ -93,6 +93,10 @@ self.line_num = self.reader.line_num return self._fieldnames + # Issue 20004: Because DictReader is a classic class, this setter is + # ignored. At this point in 2.7's lifecycle, it is too late to change the + # base class for fear of breaking working code. If you want to change + # fieldnames without overwriting the getter, set _fieldnames directly. @fieldnames.setter def fieldnames(self, value): self._fieldnames = value