[Spambayes] [ spambayes-Bugs-725466 ] Include a proper locale fix in Options.py

SourceForge.net noreply at sourceforge.net
Thu Apr 24 00:30:29 EDT 2003


Bugs item #725466, was opened at 2003-04-22 18:07
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=725466&group_id=61702

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tony Meyer (anadelonbrin)
Assigned to: Tony Meyer (anadelonbrin)
Summary: Include a proper locale fix in Options.py

Initial Comment:
When reading the options, the float() call fails when the 
locale is a language that uses a ',' for a separator 
instead of '.'.  This is hack-fixed in Outlook, but needs to 
be fixed in general.

I imagine that there must be some sort of locale call that 
will convert between the current locale and English, and 
that this should be called as the option is set.

Anyway, I'll get to this when I can.

----------------------------------------------------------------------

>Comment By: Tony Meyer (anadelonbrin)
Date: 2003-04-24 18:30

Message:
Logged In: YES 
user_id=552329

Options.py now uses locale.atoi and locale.atof to convert 
options.  I *think* this will solve this problem, but I'm not 
100%.

If someone could do some testing, that would be great.  I'm 
leaving open until I'm sure it's done.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=725466&group_id=61702



More information about the Spambayes mailing list