Python wrapper pointer mangling
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The pointer mangling done by the python wrappers is done differently in different parts of the code. It needs to be consolidated and properly tested against SWIG pointer mangling.
Pointers should be mangled like this: _08a71808_p_vtkSomething However, in vtkPythonArgs, void * is wrapped as _08a71808_void_p Some demangling is also done by vtkTkRenderWidget, and various manglings/demanglings are done in several .py files.
Type checks when demangling should incorporate an IsA check instead of requiring an exact type match, which will require changes to the way vtkPythonUtil::UnmanglePointer is called.