Skip to content
  • David Gobbi's avatar
    Python API compatibility for py3k. · d3eb4043
    David Gobbi authored
    This is a large change that adds conditional compilation to support
    both python 2 and python 3.  The header vtkPythonCompatibility.h
    does a lot of the necessary work:
    1) PyInt is redefined to PyLong for py3k
    2) PyString is redefied to PyUnicode for py3k
    3) PyBytes is redefined to PyString for python 2
    d3eb4043