def Date_or_None(s):
    try:
        return date(*[ int(x) for x in s.split('-',2)])
    except (SystemExit, __HOLE__):
        raise
    except:
        return None
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/MySQL-python-1.2.5/MySQLdb/times.py/Date_or_None