[issue2078] CSV Sniffer does not function properly on single column .csv files

2008-03-27 Thread Jean-Philippe Laverdure
Jean-Philippe Laverdure <[EMAIL PROTECTED]> added the comment: Hi Skip, You're right, it does seem that using f.read(1024) to feed the sniffer works OK in my case and allows me to instantiate the DictReader correctly... Why that is I'm not sure though... I was submitting the

[issue2078] CSV Sniffer does not function properly on single column .csv files

2008-03-27 Thread Jean-Philippe Laverdure
Jean-Philippe Laverdure <[EMAIL PROTECTED]> added the comment: Hello and sorry for the late reply. Wolfgang: sorry about my misuse of the csv.DictReader constructor, that was a mistake on my part. However, it still is not functionning as I think it should/could. Look at this: Usin

[issue2078] CSV Sniffer does not function properly on single column .csv files

2008-02-12 Thread Jean-Philippe Laverdure
Changes by Jean-Philippe Laverdure: -- components: +Library (Lib) -Extension Modules versions: +Python 2.4 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue2078] CSV Sniffer does not function properly on single column .csv files

2008-02-12 Thread Jean-Philippe Laverdure
New submission from Jean-Philippe Laverdure: When attempting to sniff() the dialect for the attached .csv file, csv.Sniffer.sniff() returns an unusable dialect: >>> import csv >>> file = open('listB2Mforblast.csv', 'r') >>> dialect = csv.S