Python 3.7 errors re StopIteration
Python 3.7 no longer allows StopIteration escape from generators: https://www.python.org/dev/peps/pep-0479/
Traceback (most recent call last):
File "C:/msys64/mingw32/lib/python3.7/site-packages\meld\treehelpers.py", line 111, in inorder_search_up
raise StopIteration()
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:/msys64/mingw32/lib/python3.7/site-packages\meld\dirdiff.py", line 1090, in on_treeview_cursor_changed
prev, next = self.model._find_next_prev_diff(cursor_path)
File "C:/msys64/mingw32/lib/python3.7/site-packages\meld\tree.py", line 173, in _find_next_prev_diff
return self.get_previous_next_paths(start_path, match_func)
File "C:/msys64/mingw32/lib/python3.7/site-packages\meld\treehelpers.py", line 122, in get_previous_next_paths
for it in self.inorder_search_up(start_iter):
RuntimeError: generator raised StopIteration
From what I see replacing the two cases in treehelpers.py with "return" should work.