[vtk-developers] Python wrapping & factory methods

David Gobbi david.gobbi at gmail.com
Fri Apr 29 17:24:46 EDT 2011


On Fri, Apr 29, 2011 at 3:10 PM, Timothy Shead <tshead at sandia.gov> wrote:
>
> David:
>
> Working like a charm here.  Of course, no good deed goes unpunished - I just
> realized that this same issue affects vtkSQLDatabase::CreateFromUrl()
> (static factory method for creating database instances) and
> vtkSQLDatabase::GetQueryInstance() (non-static factory method for creating
> database query objects from a database instance).
>
> I see where I could modify the hard-coded list in the wrapper-generator
> code, or I could just wait for the hinting mechanism to show-up ... any
> thoughts on how soon that might happen?

Not any time soon.  I'll add GetQueryInstance to my topic branch.

I recommend that you open a bug report on mantis, and each time you
find another leaky method you can add a note.  We'll need a list of
them for when the hinting is enabled, anyway.

 - David



More information about the vtk-developers mailing list