Request for a change in the csv module.

skip at pobox.com skip at pobox.com
Tue Mar 13 13:41:59 CET 2007


    Paulo> That is not the point. The problem is to have things generalized.

Well, perhaps.  One of the goals of the csv module was to do things the way
Excel does things.  Ideally, that would include formatting elements with
locale sensitivity.  I've been working on a csv module in Python, so I
decided to try the locale.format() calls in its writerow implementation.  A
number of test cases broke as a result because apparently locale.format
doesn't do its job quite the same way Excel does.  I don't think pushing the
locale-sensitive formatting down into the csv module is going to be a
panacea.

Skip



More information about the Python-list mailing list