Serhiy Storchaka added the comment: The docs mention that "row" should be a sequence, so there is no a bug.
Here is a patch which makes writerow() accept an iterable without converting it to a list. It also adds tests for few corner cases and fixes the docs. ---------- nosy: +serhiy.storchaka stage: needs patch -> patch review Added file: http://bugs.python.org/file37612/csv_writerow_iterable.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23171> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com