diff -r 3ee3d4449a9f Lib/inspect.py --- a/Lib/inspect.py Thu Jan 30 00:22:57 2014 -0500 +++ b/Lib/inspect.py Thu Jan 30 00:32:12 2014 -0500 @@ -412,7 +412,7 @@ elif isinstance(dict_obj, property): kind = "property" obj = dict_obj - elif isfunction(obj) or ismethoddescriptor(obj): + elif isroutine(obj): kind = "method" else: kind = "data" diff -r 3ee3d4449a9f Lib/test/test_inspect.py --- a/Lib/test/test_inspect.py Thu Jan 30 00:22:57 2014 -0500 +++ b/Lib/test/test_inspect.py Thu Jan 30 00:32:12 2014 -0500 @@ -646,6 +646,10 @@ md = _BrokenMethodDescriptor() attrs = attrs_wo_objs(A) + + self.assertIn(('__new__', 'method', object), attrs, 'missing __new__') + self.assertIn(('__init__', 'method', object), attrs, 'missing __init__') + self.assertIn(('s', 'static method', A), attrs, 'missing static method') self.assertIn(('c', 'class method', A), attrs, 'missing class method') self.assertIn(('p', 'property', A), attrs, 'missing property')