Message176817
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:19 | asvetlov | set | recipients:
+ asvetlov, gvanrossum |
2012-12-02 23:30:19 | asvetlov | set | messageid: <1354491019.56.0.301403725072.issue16596@psf.upfronthosting.co.za> |
2012-12-02 23:30:19 | asvetlov | link | issue16596 messages |
2012-12-02 23:30:19 | asvetlov | create | |
|