def local_tuple_to_utc_secs(time_tuple, timezone=UNIVERSAL, is_dst=False):
    """ Convert time tuple with timezone and DST info to UTC seconds. """
    """ NOTE: It's up to caller that is_dst flag makes sense. """
    time_tuple = fill_in_tuple(time_tuple)
    secs = tuple_to_secs(time_tuple)
    secs += TIME_ZONE_OFFSETS_TO_UTC[timezone]
    if is_dst:
        secs -= HOUR_SECONDS
    return secs
 Convert time tuple with timezone and DST info to UTC seconds. 
recipes/Python/576546_DateTimeSyncer_Daylight_Savings_Time/recipe-576546.py