Transpose Does Not Work on Infinite Lists
lyxal opened this issue · comments
while True:
if any(has_ind(row, r) for row in matrix):
this_row = gen_row(r)
if all(type(x) is str for x in this_row):
yield "".join(this_row)
else:
yield this_row
else:
break
r += 1
That any is going to never finish on an infinite matrix if there's no such row
Hey, @lyxal, that's a nice issue you've got there! It'd sure be a shame if somebody were to assign you to it!
Hey, @lyxal, that's a nice issue you've got there! It'd sure be a shame if somebody were to assign you to it!
L + ratio + don't care
Expected behaviour