[Ironruby-core] Float parsing is culture dependent (patch included)

Dino Viehland dinov at exchange.microsoft.com
Sat Jan 12 05:09:27 EST 2008

FYI we've also recently ran into some IronPython bugs which were "culture" dependent as well.  In our case these were date/time methods. If anyone's interested in taking it on it might be interesting to see all the results from running the various tests under alternate "cultures".
From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] On Behalf Of Thibaut Barrère [thibaut.barrere at gmail.com]
Sent: Saturday, January 12, 2008 1:33 AM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Float parsing is culture dependent (patch included)


if you type "1.0" then enter under rbx on a french machine (or any
machine with something different than dot for the decimal separator),
you'll get an exception.

I've attached a patch which works for me.

-- Thibaut

More information about the Ironruby-core mailing list