- Subject: Re: [slang-users] module gettext
- From: Paul Boekholt <p.boekholt@xxxxxxxxx>
- Date: Tue, 26 Jul 2011 08:35:19 +0200
Hello Bernhard,
2011/7/25 Bernhard Schönhammer <B.Schoenhammer@xxxxxxxxxxxx>:
> What is gettext doing to my variables?
Looks like S-Lang's float parser isn't locale agnostic. This bug must
have been present for ages, I will fix. You can work around it by
adding a line
setlocale(LC_NUMERIC, "C");
Actually I think this may be a problem in S-Lang. Since it's an
embeddable language, it shouldn't rely on the locale setting. See also
http://www.python.org/dev/peps/pep-0331/ and
https://bugs.php.net/bug.php?id=17815 for discussions of similar
problems in python and php.
Paul
[2011 date index]
[2011 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]