GTK breaks float! (related to "float does not parse 0.00000E+00")
Calvelo Daniel
dcalvelo at pharion.univ-lille2.fr
Thu Jun 8 11:07:32 EDT 2000
jepler epler <jepler.lnk at lnk.ispi.net> wrote:
: I'm guessing that 'import gnome.ui' sets the locale, including the
: numeric format:
: $ env LC_NUMERIC=en_US python -c 'import gnome.ui; print float("1.1")'
: 1.1
: $ env LC_NUMERIC=de_DE python -c 'import gnome.ui; print float("1.1")'
: Traceback (innermost last):
: File "<string>", line 1, in ?
: Value Error: invalid literal for float(): 1.1
Same here. Debian woody Linux. gnome-libs-1.2.1, python-gtk 0.6.6 and python-gnome debian package 1.0.53.
: Jeff
-- Daniel Calvelo Aros
calvelo at lifl.fr
More information about the Python-list
mailing list