Open
Description
When storing/retrieving Map and MapSet objects from dictionaries, one might need the _state_attrs
attribute. There are two inconsistencies:
First:
In all other classes, the slots of the serializable state are in the class attribute _state_attrs
. Only in MapSet, this begins with two underscores. This makes it impossible to access the attribute.
Second:
The state attributes listed are not identical to those in the serializable state, because error_hist
is missing. Is this intentional? Maybe there is something I am not getting. Is the _state_attrs
not supposed to list the keys one expects in a dictionary?