In Python 2, when a property raise a error, hasattr will ignore this property, returning False.
class A(object):
@property
def get(self):
raise IOError
class B(object):
@property
def get(self):
return 'get in b'
a = A()
b = B()
print 'a hasattr get:...