[issue19136] CSV, builtin open(), newline arg. Docs broken again.

2013-10-01 Thread Graham Wideman
Graham Wideman added the comment: David: Yes, as it turns out you are absolutely right, in a manner of speaking. I have retested this exhaustively today, and here's the root cause. It turns out that in testing, I must have activate a particular simplified test script by invoking only scriptna

[issue19136] CSV, builtin open(), newline arg. Docs broken again.

2013-10-01 Thread R. David Murray
R. David Murray added the comment: You must have a different 'open' in your namespace when you execute that. Dropping a keyword argument like that is something we would never do without a deprecation period. Your example works fine for me. -- nosy: +r.david.murray resolution: -> inv

[issue19136] CSV, builtin open(), newline arg. Docs broken again.

2013-10-01 Thread Graham Wideman
New submission from Graham Wideman: The docs appear to be incorrect for CSV at: http://docs.python.org/3.3/library/csv.html. Per issue http://bugs.python.org/issue7198 , there's a long history of contention between os.open and csv.writer, in which, on Windows, the default result is an unwante