This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author peter.otten
Recipients mtraskin, peter.otten, serhiy.storchaka, terry.reedy
Date 2013-08-15.10:23:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376562197.39.0.404127077864.issue18219@psf.upfronthosting.co.za>
In-reply-to
Content
Note that set operations on dict views work with lists, too. So the only change necessary is to replace

wrong_fields = [k for k in rowdict if k not in self.fieldnames]

with

wrong_fields = rowdict.keys() - self.filenames

(A backport to 2.7 would need to replace keys() with viewkeys())
History
Date User Action Args
2013-08-15 10:23:17peter.ottensetrecipients: + peter.otten, terry.reedy, serhiy.storchaka, mtraskin
2013-08-15 10:23:17peter.ottensetmessageid: <1376562197.39.0.404127077864.issue18219@psf.upfronthosting.co.za>
2013-08-15 10:23:17peter.ottenlinkissue18219 messages
2013-08-15 10:23:17peter.ottencreate