Andrey,

r19248 introduce Python specific code in general .i files. The consequence is 
that it breaks the Perl bindings (see 
http://buildbot.osgeo.org:8500/builders/telascience-quick/builds/312/steps/perl-make/logs/stdio).
 

It also breaks Python3 compatibility as PyString_FromStringAndSize and 
PyString_AsString aren't available (though this could be fixed easily by 
using PyBytes_FromStringAndSize and PyBytes_AsString with a #if 
PY_VERSION_HEX >= 0x03000000)

I think the new implementation should be done only inside a #if 
defined(SWIGPYTHON) I guess, and the old implementation preserved for other 
binding languages.

Best regards

Even
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to