Another comparison patch-up: comparing a type with a dynamic metatype
to one with a static metatype raised an obscure error.
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 42e1384..fdf2a41 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -921,6 +921,13 @@
     verify(L(3)*2 == 6)
     verify(L(3)*L(2) == 6)
 
+    # Test comparison of classes with dynamic metaclasses
+    class dynamicmetaclass(type):
+        __dynamic__ = 1
+    class someclass:
+        __metaclass__ = dynamicmetaclass
+    verify(someclass != object)
+
 def errors():
     if verbose: print "Testing errors..."