def _cast_number(value):
    m = FLOAT_REGEX.search(value)
    if m is not None:
        return float(value)
    return long(value)
Do control sequences for clearing the console work?
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/openpyxl-2.3.0-b2/openpyxl/cell/read_only.py/_cast_number--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/frontend/qt/console/tests/test_ansi_code_processor.py/TestAnsiCodeProcessor.test_clear