Ticket #3265 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

Add support for Python 3.X

Reported by: rouault Owned by: 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

Changed 2 years ago by rouault

  • status changed from new to closed
  • resolution set to fixed
  • component changed from default to PythonBindings

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.