Bug: PEP 479 StopIteration leads to RuntimeError
HHArrowood opened this issue · 1 comments
HHArrowood commented
In Python 3.7 and above, StopIteration exceptions raised directly or indirectly in coroutines and generators are transformed into RuntimeError exceptions. This means that the next()
Line 103 in 9d650a0
To fix this, simply replace the line mentioned above with
try:
header = next(results)
except StopIteration:
return
```
bryanyang0528 commented
Hi @HHArrowood ,
Thank you for pointing out this issue. Would you mind submitting a new PR for fixing this?