def integer(value):
    try:
        return int(value)
    except __HOLE__:
        return long(value) # why does this help? (CM)
    except OverflowError:
        return long(value)
dataset/ETHPy150Open XiaoMi/minos/supervisor/supervisor/datatypes.py/integer