Commit 283e2b71 authored by Committed by Marcus D. HanwellBrowse files
ENH: Add an optional hash function for python special types.
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.
Showing with 119 additions and 5 deletions