@classmethod
def __subclasshook__(cls, C):
    if (C == np.int64):
        return True
    elif (C == np.uint64):
        return True
    elif issubclass(C, Long):
        return True
    elif issubclass(C, long):
        return True
    else:
        return False
@classmethod
def __subclasshook__(cls, C):
    if (C == np.int64):
        return True
    elif (C == np.uint64):
        return True
    elif issubclass(C, Long):
        return True
    elif issubclass(C, long):
        return True
    else:
        return False