] > pylint #4983: new py2.5 check: test "yield" in "try" body with yield in exception handlers. (Logilab.org)

#4983: new py2.5 check: test "yield" in "try" body with yield in exception handlers. [open]

prioritynormal
typestory
load0.000
load left0.000
not planned
In general, it seems to be unsafe to have a "yield" in a "try" body and in a following "except:" or "except Exception:" clause, unless GeneratorExit is explicitly dealt with in an earlier "except" clause. Maybe this could become a new pylint rule?