cff1243b86
Python algorithms with custom data requires an operation that converts a dictionary key into a attribute. In the current implementation the Slice object was converted into a python dictionary. This was not optimal, since we just need to make this conversion when the value of a key in the Slice is accessed. This implementation proposes a wrapper for the Slice object, PythonSlice, that would just perform the operation described above when needed.