On 2014-02-06 18:34, Neil Cerutti wrote: > They do actually mention it. > > From: http://docs.python.org/2/library/csv.html > > If csvfile is a file object, it must be opened with > the ‘b’ flag on platforms where that makes a difference. > > So it's stipulated only for file objects on systems where it > might make a difference.
Ah, I *knew* I'd read that somewhere but my searches in firefox (for "binary", "rb" and "wb") didn't manage to catch that particular instance. Thanks for disinterring that. -tkc -- https://mail.python.org/mailman/listinfo/python-list