[Python-Dev] Re: csv module TODO list

2005-01-10 Thread Martin Bless
On Mon, 10 Jan 2005 10:37:17 +1100, Andrew McNamara <[EMAIL PROTECTED]> wrote: >>csv.join(aList, e[, dialect='excel'[, fmtparam]]) -> str object Oops, should have been csv.join(aList [, dialect='excel'[, fmtparam]]) -> str object >Yes, it's feasible, Good! >although newlines can be embedded i

[Python-Dev] Re: csv module TODO list

2005-01-08 Thread Martin Bless
I'd love to see a 'split' and a 'join' function in the csv module to just convert between string and list without having to bother about files. Something like csv.split(aStr [, dialect='excel'[, fmtparam]]) -> list object and csv.join(aList, e[, dialect='excel'[, fmtparam]]) -> str object Fe

[Python-Dev] Re: an idea for improving struct.unpack api

2005-01-06 Thread Martin Bless
On Wed, 5 Jan 2005 21:27:16 -0800 (PST), Ilya Sandler <[EMAIL PROTECTED]> wrote: >The current struct.unpack api works well for unpacking C-structures where >everything is usually unpacked at once, but it >becomes inconvenient when unpacking binary files where things >often have to be unpacked fie