Skip to content
  • David Gobbi's avatar
    Fix PyTypeObject multiplicity (module boundaries). · ebf3ea08
    David Gobbi authored and Ben Boeckel's avatar Ben Boeckel committed
    When the VTK Python extension modules are loaded more than once
    (e.g. by multiple Python interpreters in the same process), we
    must ignore any PyTypeObjects except for the ones from the first
    load.  This fixes crashes that started occurring when we moved
    the PyTypeObjects from the shared PythonD libraries into the
    Python modules themselves.
    ebf3ea08