Open aivarannamaa opened 8 years ago
Removing version: 2.0 (automated comment)
Original changes by Aivar Annamaa (Bitbucket: aivarannamaa GitHub: aivarannamaa ).
I confirm that the bug is still active in 3.1.2 (on windows). I wonder why a new window does not pop up for a generator, the same way as it does for a function. Maybe that's the reason of the failure?
Still present in 3.1 (stepping with F7)
Still present in 3.2
Original report by Lee Cannon (Bitbucket: lcannon GitHub: lcannon ).
When stepping through the execution of the function
next
upon a generator (using F7) a TkInter TclError occurs on the second and every subsequentnext
operation but not on the first usage ofnext
on the generator.After closing the trackback the code can be continued to be stepped through but the next time the generator is called the same trackback will appear.
For example in the following code the 2nd through 10th time through the for loop the error will occur. But only while stepping through the code normal execution proceeds with no error.
Attached is the trackback given when stepping through the above code.
The issue is not confined to generators as simple as this but has occurred with every generator I have tested.