Issue 2235: Py3k warnings are now emitted for classes that will no longer inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings.
diff --git a/Lib/UserList.py b/Lib/UserList.py
index 556a327..b445985 100644
--- a/Lib/UserList.py
+++ b/Lib/UserList.py
@@ -25,6 +25,7 @@
else: return other
def __cmp__(self, other):
return cmp(self.data, self.__cast(other))
+ __hash__ = None # Mutable sequence, so not hashable
def __contains__(self, item): return item in self.data
def __len__(self): return len(self.data)
def __getitem__(self, i): return self.data[i]