[Thuban-commits] r2707 - trunk/thuban

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun Sep 24 21:33:48 CEST 2006


Author: bernhard
Date: 2006-09-24 21:33:48 +0200 (Sun, 24 Sep 2006)
New Revision: 2707

Modified:
   trunk/thuban/NEWS
Log:
Improved news about current fixes.


Modified: trunk/thuban/NEWS
===================================================================
--- trunk/thuban/NEWS	2006-09-24 19:25:26 UTC (rev 2706)
+++ trunk/thuban/NEWS	2006-09-24 19:33:48 UTC (rev 2707)
@@ -1,9 +1,21 @@
 Changes in Thuban 1.1.0+CVS
 ===========================
-	
- - Fixed behaviour with the proj bug and python >=2.4 
-   when decimal_point != '.'. So de_DE locales will work fine again.
 
+ - Python <= 2.4 calls C extension modules with the set locale.
+   This means those modules need to be robust against a locale
+   where LC_NUMERIC is set in a way that the decimal_point might
+   be a comma or something else. Problems are diagnosed 
+   at least with shapelib, proj and gdal. To cope with it we:
+
+   + Added a new option --setdecimalcommalocale to runtests.py so that
+   all tests can be checked with a comma as  decimal_point, if we
+   can find such an LC_NUMERIC. We only try a few in test/localessupport.py.
+
+   + Fixed behaviour with proj by switching to LC_NUMERIC "C" before
+   initialising the projection and afterward switch back.
+
+   + Added a workaround to internal shapelib and pyshapelib.
+
  - Startup improved: We fail right away if the internal encoding could
    not be determined. In this case, try to set the LANGUAGE variable to
    one value and use no colon.



More information about the Thuban-commits mailing list