Opened 14 years ago

Closed 14 years ago

#3265 closed task (fixed)

Add support for Python 3.X

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.7.0
Component: PythonBindings Version: unspecified
Severity: normal Keywords:
Cc: hobu

Description

Work in progress... The goal is to support both Python 2.X and Python 3.X

Change History (1)

comment:1 by Even Rouault, 14 years ago

Component: defaultPythonBindings
Resolution: fixed
Status: newclosed

Done in :

r18192 /trunk/gdal/swig/ (8 files in 4 dirs): Python bindings : add support for Python 3.X. Compatibility with Python 2.X preserved (#3265)

r18193 /trunk/autotest/ (115 files in 8 dirs): Autotest suite: add support for Python 3.X. Compatibility with Python 2.X preserved (#3265)

r18194 /trunk/gdal/swig/python/scripts/ (18 files): swig/python/scripts: add support for Python 3.X. Compatibility with Python 2.X preserved (#3265)

r18195 /trunk/gdal/swig/python/samples/ (18 files): swig/python/samples: add support for Python 3.X. Compatibility with Python 2.X preserved (#3265)

Bindings are successfully regenerated and autotest suite passes with both Python 2.3, Python 2.6 and Python 3.1.

swig/python/scripts and swig/python/samples lightly tested. Feedback appreciated to check that no regression was introduced when run against Python 2.X

Note: See TracTickets for help on using tickets.