

class VariableAccess:
    def __init__(self, variable, access_type, location):
        self.variable = variable
        self.access_type = access_type
        self.location = location

    def __repr__(self):
        return "%s %s @ %s" % (self.access_type, self.variable, self.location)

@@ -17,16 +17,76 @@
 Access:%0A
+%0A    __slots__ = ('variable', 'access_type', 'location', )%0A%0A
     def 
@@ -343,8 +343,350 @@
 cation)%0A
+%0A    def __eq__(self, other):%0A        return type(other) is VariableAccess and %5C%0A            self.variable == other.variable and %5C%0A            self.access_type == other.access_type and %5C%0A            self.location == other.location%0A%0A    def __hash__(self):%0A        return hash((VariableAccess, self.variable, self.access_type, self.location))%0A

Make it hashable. (#2069)