1 |
Changes in Thuban 1.1.0+CVS |
Changes in Thuban 1.1.0+CVS |
2 |
=========================== |
=========================== |
3 |
|
|
4 |
|
- Python <= 2.4 calls C extension modules with the set locale. |
5 |
|
This means those modules need to be robust against a locale |
6 |
|
where LC_NUMERIC is set in a way that the decimal_point might |
7 |
|
be a comma or something else. Problems are diagnosed |
8 |
|
at least with shapelib, proj and gdal. To cope with it we: |
9 |
|
|
10 |
|
+ Added a new option --setdecimalcommalocale to runtests.py so that |
11 |
|
all tests can be checked with a comma as decimal_point, if we |
12 |
|
can find such an LC_NUMERIC. We only try a few in test/localessupport.py. |
13 |
|
|
14 |
|
+ Fixed behaviour with proj by switching to LC_NUMERIC "C" before |
15 |
|
initialising the projection and afterward switch back. |
16 |
|
|
17 |
|
+ Added a workaround to internal shapelib and pyshapelib. |
18 |
|
|
19 |
- Startup improved: We fail right away if the internal encoding could |
- Startup improved: We fail right away if the internal encoding could |
20 |
not be determined. In this case, try to set the LANGUAGE variable to |
not be determined. In this case, try to set the LANGUAGE variable to |
21 |
one value and use no colon. |
one value and use no colon. |