blist
blist copied to clipboard
Python 3.7: Keyview iteration raises a StopIteration RuntimeError
I am using version 1.3.6 and under Python 3.6 I can use a for loop to iterate over the KeysView. When I change to Python 3.7 I encounter a 'generator raised StopIteration' RuntimeError at the end of the iteration.
I'm not sure if you're still facing this issue, but we're switching to sortedcontainers because of this issue. It should be a (mostly) drop in fix.
This is solved for the conda-forge packaging effort with patch 3 in the feedstock repo.