Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Python: hash value of objects not available as __hash__ method #185
Currently, the hash value of objects is available as "hash" method (as in Ruby), but not as "hash" which would enable KLayout's objects as keys for sets for example.
A quick workaround is to monkey patch the respective object, i.e.