<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_all_patches(self, dont_use_cache=False):
 """ Computes a list of all patches matching this query, though ignoreing self.start_position and self.end_position. @param dont_use_cache If False, and get_all_patches has been called before, compute the list computed last time. """

        if not dont_use_cache and self._all_patches_cache is not None:
            return self._all_patches_cache

        print(
            'Computing full change list (since you specified a percentage)...'
        ),
        sys.stdout.flush()  # since print statement ends in comma

        endless_query = self.clone()
        endless_query.start_position = endless_query.end_position = None
        self._all_patches_cache = list(endless_query.generate_patches())
        return self._all_patches_cache