[Spambayes-checkins] spambayes/Outlook2000/dialogs AsyncDialog.py, 1.4, 1.5

Tim Peters tim.one at comcast.net
Sun Jul 20 22:45:56 EDT 2003


[Tony Meyer]
> It is possible in a non-English locale, though, right?

Offhand I didn't think so, but I'm no locale expert.  In locales that swap
the God-given <wink> meanings of "." and ",", what I've always seen is
bizarre tracebacks raising SyntaxError due to "invalid literals".

> Because 1.0 becomes 10,

In what locale would a period be interpreted as "multiply the integer to the
left of the period by 10"?

> and 1,0 becomes (what English calls) 1.0, yes?  (Well,
> here that would be 3+6+1-10 < 1, which is True, but I suspect the
> actual code is 0.3, 0.6, and 0.1, which becomes 30+60+10-10 < 1,
> which is False).

Now a period means "multiply the integer to the *right* of the period by
100"?!  You're making this up as you go along <wink>.

> I know that the last two people in the list said that they're in
> English, but maybe they're not and don't realise it?  (this happened
> to someone I know who is almost in the Tim's sister category).

Anything's possible with Windows users ...




More information about the Spambayes-checkins mailing list