csv module strangeness.

tobiah st at tobiah.org
Thu Aug 31 14:21:59 EDT 2006


>> The docs clearly state what the defaults are, but they are not
>> in the code.  It seems so clumsy to have to specify every one of 
>> these, just to change the delimiter from comma to tab.
>>
>> http://docs.python.org/lib/csv-fmt-params.html : 
> 
> The "it defaults to" clauses should probably be seen in the context of 
> the two "the programmer can" sentences in the first paragraph on that 
> page; the default is what's used if you don't do that.
> 
> I agree that the first paragraph could need some work.  Any volunteers?
> 
> </F>
> 

I agree with Henryk's evaluation, but if Dialect is to remain,
why not just fix all of the 'None' assignments in the class
definition to match the sensible defaults that are already in
the docs?

-- 
Posted via a free Usenet account from http://www.teranews.com




More information about the Python-list mailing list