Message309907
This isn't a bug. The docs specify that *fieldnames* is a sequence, "The fieldnames parameter is a sequence of keys that identify the order in which values in the dictionary passed to the writerow() method are written to the csvfile."
We could make this a feature request. but as far as I can tell there isn't a real use case, nor has one ever arisen in the decade long history of the module. Adding the list(fieldnames) behavior could be done without a backwards compatibility issue, but it does incur an overhead that would be paid by all existing working code. |
|
Date |
User |
Action |
Args |
2018-01-14 01:08:18 | rhettinger | set | recipients:
+ rhettinger, bendotc |
2018-01-14 01:08:18 | rhettinger | set | messageid: <1515892098.1.0.467229070634.issue32547@psf.upfronthosting.co.za> |
2018-01-14 01:08:18 | rhettinger | link | issue32547 messages |
2018-01-14 01:08:16 | rhettinger | create | |
|