[Chandler-dev] float('1.0') failing occasionally in French locale

Philippe Bossut pbossut at osafoundation.org
Wed Sep 13 13:19:51 PDT 2006


Another aspect I forgot to mention is that I was running Chandler in 
French using the "-l fr" argument on the command line. I didn't change 
the OS level locale. Could that be a source of the problem? (i.e. some 
part assuming French and so assuming English...)

Cheers,
- Philippe

Jeffrey Harris wrote:
> Hi Andi,
>
>   
>> Hence, my earlier suggestion (on the parallel bugzilla thread), of
>> switching to using the PyICU number parsing routines instead.
>>     
>
> I can certainly do this, but the Python community needs a locale
> independent string-to-float routine, it seems to me, and I don't think
> PyICU is the answer for everyone.
>
> Sincerely,
> Jeffrey
>   


More information about the chandler-dev mailing list