Mar-30-2021, 10:04 AM
(Mar-30-2021, 09:19 AM)Gribouillis Wrote: If you want to pass it you need to say what the program has to do when there are no more items in the sequence
try: tq, q = next(self.incoming) except StopIteration: # No more items in self.incoming --> what to do here?You can also catch the exception at higher level in the calling stack.
this time I am in a never endless loop...
I will think and try something and will let you know..
Thanks