In addition to #197 and #198, the following tests fail on Python 3.7 and newer. This seems to be the same problem as #145, except that it happens with included test file rather than random broken input.
The underlying problem seems to be uncaught exception from .next() but I don't really understand the code enough to figure out what should happen when there's no next item to be yielded. Besides, there's one raise StopIteration elsewhere in the code that needs to be replaced with return but I haven't submitted PR since I have no clue how to fix this one.
In addition to #197 and #198, the following tests fail on Python 3.7 and newer. This seems to be the same problem as #145, except that it happens with included test file rather than random broken input.
The underlying problem seems to be uncaught exception from
.next()
but I don't really understand the code enough to figure out what should happen when there's no next item to be yielded. Besides, there's oneraise StopIteration
elsewhere in the code that needs to be replaced withreturn
but I haven't submitted PR since I have no clue how to fix this one.