def _parse_integer(value):

    try:
        return None if value == 'null' else int(value)
    except ValueError as error:
        logger.exception('Error parsing value as a JSON integer')

        msg = 'Unable to parse {!r} as an int: {}'.format(value, error)
        raise DCOSException(msg)
a // b
dataset/ETHPy150Open dcos/dcos-cli/dcos/jsonitem.py/_parse_integer--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/fractions.py/Fraction.__rfloordiv__