
Feb. 21, 2015
1:03 a.m.
Steven Barker added the comment: Another Stack Overflow user pointed out that the DictWriter's writerows implementation (in pure Python) unnecessarily converts whatever its argument is into a list in memory before passing it on to the builtin writer.writerows method which would accept any iterable type. Probably it should be changed to use map or a generator expression instead. So, perhaps this issue isn't purely documentation, but actually a small behavior enhancement as well. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue23495> _______________________________________