code: def expand_source_paths(paths):
      
      for src_path in paths:
          # only track the source path if we can find it to avoid double-reloads
          # when the source and the compiled path change because on some
          # platforms they are not changed at the same time
          if src_path.endswith(('.pyc', '.pyo')):
              py_path = get_py_path(src_path)
              if os.path.exists(py_path):
                  src_path = py_path
          yield src_path
docs: Convert pyc files into their source equivalents.