Message179887
The restriction that line numbers must be monotonically increasing w.r.t bytecode offset in the co_lnotab array prevents a number of beneficial transformations in the bytecode compiler.
This patch allows negative line number deltas and uses this capability to generate code for 'while' loops in standard text book fashion, putting the test *after* the body. |
|
Date |
User |
Action |
Args |
2013-01-13 18:42:35 | Mark.Shannon | set | recipients:
+ Mark.Shannon |
2013-01-13 18:42:34 | Mark.Shannon | set | messageid: <1358102554.86.0.0981281614451.issue16956@psf.upfronthosting.co.za> |
2013-01-13 18:42:34 | Mark.Shannon | link | issue16956 messages |
2013-01-13 18:42:34 | Mark.Shannon | create | |
|