[vtk-developers] Python and mutable test failing for modular

David Gobbi david.gobbi at gmail.com
Mon Mar 19 17:59:02 EDT 2012


On Mon, Mar 19, 2012 at 3:39 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> On Mon, Mar 19, 2012 at 5:27 PM, David Gobbi <david.gobbi at gmail.com> wrote:
>>
>> Hmm... I don't know if I did a very good job of explaining.  To make a
>> long story short, there was special code (shown above) in
>> vtkWrapPythonInit.c that added "mutable" to the list of python objects
>> for vtkCommonPython.
>>
> You did, and I think I see a reasonable fix for now at least - that
> same thing could be added to vtkCommonCorePython in the case of
> modular. Are there any more cases like this I should look out for? It
> is great to get a better understanding of how some of this works too.

CommonCore is the logical place for it.

PyVTKMutable is the only handwritten python type that is concrete and
needs to be visible to the user.   PyVTKClass, PyVTKObject,
PyVTKTemplate, etc. are meta-types.

 - David



More information about the vtk-developers mailing list