[issue18219] csv.DictWriter is slow when writing files with large number of columns

Mikhail Traskin report at bugs.python.org
Tue Sep 3 05:30:23 CEST 2013


Mikhail Traskin added the comment:

Peter, thank you for letting me know that views work with list, I was not aware of this. This is indeed the best solution and it also keeps the DictWriter interface unchanged.

Terry, attached patch contains the DictWriter change and a test case in test_csv.py.

----------
Added file: http://bugs.python.org/file31570/csvdictwriter.v4.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18219>
_______________________________________


More information about the Python-bugs-list mailing list