Skip to content
  • David Gobbi's avatar
    ENH: Add an optional hash function for python special types. · 283e2b71
    David Gobbi authored
    Python mapping objects require their keys to be hashable.  So, unless
    a special object has a hash function, it cannot be stored in a map.
    For vtkObjectBase-derived objects, the hash is done on the memory address,
    but for special objects, the hash must be computed based on the value.
    283e2b71