Author jesstess
Recipients docs@python, georg.brandl, jesstess, r.david.murray, sfinnie, terry.reedy
Date 2014-04-20.02:07:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397959642.16.0.855965731118.issue8387@psf.upfronthosting.co.za>
In-reply-to
Content
All of the examples from https://docs.python.org/3/library/csv.html run without issue on OSX, though.

In summary, the Python 2 examples error out on OSX and switching them to use 'U' instead of 'b' would fix this. I don't think any action needs to be taken for Python 3.

My one remaining question is about binary files on Windows. The Python 2 csv docs say "If csvfile is a file object, it must be opened with the ‘b’ flag on platforms where that makes a difference." I don't readily have a Windows machine to play with this -- do "binary" CSV files exist, or can we eliminate the 'b' language entirely and just talk about 'U'?
History
Date User Action Args
2014-04-20 02:07:22jesstesssetrecipients: + jesstess, georg.brandl, terry.reedy, r.david.murray, sfinnie, docs@python
2014-04-20 02:07:22jesstesssetmessageid: <1397959642.16.0.855965731118.issue8387@psf.upfronthosting.co.za>
2014-04-20 02:07:22jesstesslinkissue8387 messages
2014-04-20 02:07:21jesstesscreate