def memorized_datetime(seconds):
    '''Create only one instance of each distinct datetime'''
    try:
        return _datetime_cache[seconds]
    except __HOLE__:
        # NB. We can't just do datetime.utcfromtimestamp(seconds) as this
        # fails with negative values under Windows (Bug #90096)
        dt = _epoch + timedelta(seconds=seconds)
        _datetime_cache[seconds] = dt
        return dt
dataset/ETHPy150Open Southpaw-TACTIC/TACTIC/3rd_party/site-packages/pytz/tzinfo.py/memorized_datetime