<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dump(value, filename, compress=None, cache_size=None):
 """Save an arbitrary python object using pickle. Parameters value : any Python object The object to store to disk using pickle. filename : string The name of the file in which it is to be stored compress : None No longer used cache_size : positive number, optional No longer used See Also -------- load : corresponding loader """

    if compress is not None or cache_size is not None:
        warnings.warn("compress and cache_size are no longer valid options")

    with open(filename, 'wb') as f:
        pickle.dump(value, f)