def languages(self):
        if self._languages is not None:
            return self._languages
        acceptLanguage = self.environ.get('HTTP_ACCEPT_LANGUAGE')
        langs = ACCEPT_LANGUAGE.parse(self.environ)
        fallback = self.defaults.get('language', 'en-us')
        if not fallback:
            return langs
        if fallback not in langs:
            langs.append(fallback)
        index = langs.index(fallback)
        langs[index+1:] = []
        self._languages = langs
        return self._languages
This should generate an expression that picks the lower value for comparison.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/wsgiwrappers.py/WSGIRequest.languages--crossover with--dataset/ETHPy150Open thedrow/django-natural-query/tests/unit/test_date_natural_query_descriptor.py/DateNaturalQueryDescriptorTestCase.test_concated_gt_and_gte_operator_generates_the_right_expression_for_the_greater_than_or_equal_year_lookup