build curiosities of svn head (on WinXP)

David Murmann david.murmann at rwth-aachen.de
Tue Dec 27 04:51:55 CET 2005


Fredrik Lundh schrieb:
> try setting the locale (via the locale module) from the interactive prompt,
> and see if Python still handles floating point values correctly.
> 

well, it does not:

>>> import locale
>>> locale.setlocale(locale.LC_ALL, '')
'German_Germany.1252'
>>> 3.141592
3.0

so this is where the problem has to be, but i am still not sure what to do
about this. is this a problem with my configuration, with my build or
with python?

i tried changing my windows configuration to use '.' as the decimal point,
after which the above worked as expected, but the test suite still fails
on some tests (audioop, binop, bisect, difflib, doctest, xdrlib fail and
colorsys still hangs). surely my workaround is no general solution and
it doesn't even work, so there has to be a problem somewhere else.

also note that some of these tests (all except difflib and doctest) pass,
if i change them in any way (like adding insignificant whitespace) and run
them alone.

thanks for the help, David.



More information about the Python-list mailing list