SF bug #753451: classmethod abuse --> SystemError

Check the argument to classmethod for callability.

Backport candidate.
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 9587596..46e3c48 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -1485,6 +1485,14 @@
     vereq(super(D,D).goo(), (D,))
     vereq(super(D,d).goo(), (D,))
 
+    # Verify that argument is checked for callability (SF bug 753451)
+    try:
+        classmethod(1).__get__(1)
+    except TypeError:
+        pass
+    else:
+        raise TestFailed, "classmethod should check for callability"
+
 def classmethods_in_c():
     if verbose: print "Testing C-based class methods..."
     import xxsubtype as spam