Re: [Numpy-discussion] trouble with locale in combination with numpy and pylab

2008-09-15 Thread Stéfan van der Walt
2008/9/15 Achim Gaedke <[EMAIL PROTECTED]>: > Hi there! > > Consider this python program (saved as locale_trouble.py): This has already been filed as http://projects.scipy.org/scipy/numpy/ticket/902 Please add any additional info to that ticket. Thanks! Stéfan __

[Numpy-discussion] trouble with locale in combination with numpy and pylab

2008-09-15 Thread Achim Gaedke
Hi there! Consider this python program (saved as locale_trouble.py): import numpy a=numpy.float32(1.2) print a, float(a) import gtk print a, float(a) everything is fine, if you call this program as follows: LANG="C" python locale_trouble.py 1.2 1.2004768 1.2 1.2004768 LANG="de_DE" pyth