[Csv] Sniffer empty delimiter

Fred L. Drake, Jr. fdrake at acm.org
Thu Dec 29 07:23:28 CET 2005


On Wednesday 28 December 2005 23:59, skip at pobox.com wrote:
 > Hmmm...  To preserve current (incorrect?) behavior I think the default
 > almost has to be "".  To be useful though, it has to be a single-character
 > string given the current limitations of the module.

That's a reasonable requirement for a delimiter used for parsing, and I'm not 
suggesting that that not be a requirement for that.  But if it's a marker 
object so the caller can determine that no delimiter was determined, then 
it's still up to the caller to check for that and either not parse or deal 
with it some other way (ask the user, for instance).

I'm not sure it's a big deal, but that's my thought on the matter at any 
rate.  ;-)


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>



More information about the Csv mailing list