def __new__(self, *args, **kwargs):
        try:
            return self._search_form_class(*args, **kwargs)
        except __HOLE__:
            self._search_form_class = self._get_search_form_class()
            return self._search_form_class(*args, **kwargs)
dataset/ETHPy150Open mollyproject/mollyproject/molly/apps/search/forms.py/SearchForm.__new__