Author asvetlov
Recipients asvetlov, gvanrossum
Date 2012-12-02.23:30:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Patch attached.
It modifies "next", "return" and "until" commands behavior when they are executed if current debugged function is generator.
1. "next" skips stack unwindind if yield tries to follow it. Now it goes just to next executed line.
2. "until" does the same: skips all yields until target is reached.
3. "return" waits to return *from* generator (by explicit or implicit StopIteration or GeneratorExit exception) ignoring following yields inside generator.
Date User Action Args
2012-12-02 23:30:19asvetlovsetrecipients: + asvetlov, gvanrossum
2012-12-02 23:30:19asvetlovsetmessageid: <>
2012-12-02 23:30:19asvetlovlinkissue16596 messages
2012-12-02 23:30:19asvetlovcreate