ENH: Check Python Version.
In the function GetVTKClasses
, this line will fail in Python 2.5 or earlier:
vtkClasses = inspect.getmembers(
vtk, inspect.isclass and not inspect.isabstract)
The reason is that inspect
does not have the attribute isabstract
.
Accordingly the code has been modified to check the Python Version, returning a message if the version is too old.