code: def fix_pep_479(generator):
      
      @functools.wraps(generator)
      def _wrapped_generator(*args, **kwargs):
          try:
              for x in generator(*args, **kwargs):
                  yield x
          except RuntimeError:
              return
  
      return _wrapped_generator
docs: Python 3.7 breaks crossplane's lexer because of PEP 479
      Read more here: https://www.python.org/dev/peps/pep-0479/