Bug Report
Expected Result:
Given a rune code that uses the distinct operator, the result should be a list containing only distinct elements. The Python generator uses a set to replicate this logic.
Actual Result:
The actual result is a 'unhashable type' error. This happens because the objects in the Python generator derive from BaseDataClass and there is no __hash__() function defined for it.
Possible solutions:
Add a __hash__() function in the definition of BaseDataClass.