[issue24147] Dialect class defaults are not documented.

2015-05-29 Thread Mik
Mik added the comment: I think it's clearer that way. Thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24147 ___ ___ Python-bugs-list

[issue24147] Dialect class defaults are not documented.

2015-05-28 Thread Mik
Mik added the comment: Hi, I have just read the documentation once again. The problem is that it specifies that the default value for Dialect.doublequote is True : quoteControls how instances of quotechar appearing inside a field should be themselves be quoted. When True, the character

[issue24147] doublequote are not well recognized with Dialect class

2015-05-17 Thread Mik
Mik added the comment: Ok Thanks. But perhaps the documentation of csv.Dialect would be updated with the default parameters. If all attribute may be specified this would be indicated in the doc. -- ___ Python tracker rep...@bugs.python.org http

[issue24147] doublequote are not well recognized with Dialect class

2015-05-09 Thread Mik
Mik added the comment: Hi, This is the file used for my test. Thank you, regard, Mik -- Added file: http://bugs.python.org/file39328/sans_headers.csv ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24147

[issue24147] doublequote are not well recognized with Dialect class

2015-05-08 Thread Mik
New submission from Mik: Python 2.7.3 (default, Mar 13 2014, 11:03:55) [GCC 4.7.2] on linux2 Type help, copyright, credits or license for more information. import csv class Mon(csv.Dialect): ... delimiter = ',' ... quotechar = '' ... quoting = 0 ... lineterminator = '\n