[Thuban-commits] r2699 - trunk/thuban/Thuban/Model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Sep 18 15:59:40 CEST 2006


Author: bernhard
Date: 2006-09-18 15:59:40 +0200 (Mon, 18 Sep 2006)
New Revision: 2699

Modified:
   trunk/thuban/Thuban/Model/proj.py
Log:
Improved documentation.


Modified: trunk/thuban/Thuban/Model/proj.py
===================================================================
--- trunk/thuban/Thuban/Model/proj.py	2006-09-18 00:56:26 UTC (rev 2698)
+++ trunk/thuban/Thuban/Model/proj.py	2006-09-18 13:59:40 UTC (rev 2699)
@@ -43,10 +43,12 @@
 class Projection(BaseProjection):
     """A proj4 projection object that remembers the parameters.
 
-    Note: it seems that calling
+    The proj library is not robust against decimal_point != '.' locales.
+    Since python 2.4 calls C extensions with the set locale, it can create
+    a problem.  It seems that calling
         self.assuregoodlocale()
         self.assureinitlocale()
-    before BaseProjection.__init__() is enough to work around the bug.
+    before BaseProjection.__init__() is enough to work around this.
 
     We assuming that the locale stays the same after a projection
     has been initialised 



More information about the Thuban-commits mailing list