pyshapelib: python requirements

Bernhard Reiter bernhard at intevation.de
Thu Jan 17 10:54:01 CET 2008


On Wednesday 16 January 2008 22:11, Bram de Greve wrote:
> Well, in your old code I've found that you conditionally used
> PyOS_ascii_atof based on the Python version.  That's what I do now as well.
> Not sure if it is a good idea though, as it will show different
> behaviour when compiled with Python < 2.4.

I thought I had comments in there or in the documentation.
Darkly I remember that Python <2.4 will not set the LC_NUMERIC when calling 
the extention modules, so there is no need for the PyOS_ascii_atof() function 
and also no problem. So the behaviour should be the same, an LC_NUMERIC 
agnostic atof() is called.

-- 
Managing Director - Owner: www.intevation.net       (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- nächster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : nicht verf?gbar
Dateityp    : application/pgp-signature
Dateigr??e  : 189 bytes
Beschreibung: nicht verf?gbar
URL         : http://intevation.de/pipermail/thuban-devel/attachments/20080117/a87f22ca/attachment.bin


More information about the Thuban-devel mailing list