def specified_kwargs(names=(), items={}):
    """ (names:tuple(str), items:dict) -> dict
    Returns a dict with the *names* subset of entries in *items* for which 
    the value is not None.
    """
    return dict([ (n, items[n]) for n in names if items[n] is not None ])