Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stop Iteration Error
#3
(Mar-30-2021, 08:49 AM)Gribouillis Wrote: The StopIteration exception does not necessarily mean an error. It is the way Python indicates the end of a sequence when you call the next() function. It may simply mean that there are no more items in the sequence.

how can I pass it? because really I do not want to see it. It appears the line of
tq, q = next(self.incoming)
then it is going next function and then stop iteration...
How to manage with that because I change nothing in the code and sometimes it is perfectly fine but sometimes "StopItreration" and ot is very annoying since I change nothing...
Reply


Messages In This Thread
Stop Iteration Error - by quest - Mar-30-2021, 08:02 AM
RE: Stop Iteration Error - by Gribouillis - Mar-30-2021, 08:49 AM
RE: Stop Iteration Error - by quest - Mar-30-2021, 09:09 AM
RE: Stop Iteration Error - by Gribouillis - Mar-30-2021, 09:19 AM
RE: Stop Iteration Error - by quest - Mar-30-2021, 10:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to make this error stop ? Mawixy 1 4,396 Apr-19-2022, 03:02 PM
Last Post: Mawixy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020