[Csv] Re: [Python-Dev] csv module TODO list
Andrew McNamara
andrewm at object-craft.com.au
Wed Jan 5 11:03:25 CET 2005
>> Yes, although it would be nice to also retain the 8-bit versions as well.
>
>You can do so by using latin-1 as default encoding. Works great !
Yep, although that means we wear the cost of decoding and encoding for
all 8 bit input.
What does the _sre.c code do?
>Depends on your needs: CSV files tend to be small enough
>to do the decoding in one call in memory.
We are routinely dealing with multi-gigabyte csv files - which is why the
original 2001 vintage csv module was written as a C state machine.
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
More information about the Csv
mailing list