Closed GoogleCodeExporter closed 8 years ago
The code at line 84 in addrspace.py (the __eq__ function):
def __eq__(self, other):
return self.profile == other.profile and \
self.__class__ == other.__class__ and self.base == other.base
just assumes that 'other' is an address space without checking
Original comment by atc...@gmail.com
on 9 Sep 2010 at 3:52
This issue was closed by revision r425.
Original comment by mike.auty@gmail.com
on 9 Sep 2010 at 10:27
Thanks, this should now be fixed in r425, by shuffling around the checks so
that __class__ is checked first, None's class and the address spaces shouldn't
match, so it'll short circuit out of the tests early. Give me a shout if the
problem doesn't disappear...
Original comment by mike.auty@gmail.com
on 9 Sep 2010 at 10:28
Original issue reported on code.google.com by
michael.hale@gmail.com
on 9 Sep 2010 at 2:24