Author asvetlov
Recipients asvetlov, gvanrossum
Date 2012-12-02.23:30:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354491019.56.0.301403725072.issue16596@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-12-02 23:30:19asvetlovsetrecipients: + asvetlov, gvanrossum
2012-12-02 23:30:19asvetlovsetmessageid: <1354491019.56.0.301403725072.issue16596@psf.upfronthosting.co.za>
2012-12-02 23:30:19asvetlovlinkissue16596 messages
2012-12-02 23:30:19asvetlovcreate