[issue34372] Compiler could output more accurate line numbers

2018-08-15 Thread Ammar Askar
Ammar Askar added the comment: Note that even just adding an extra arithmetic in your first expression breaks the line numbers: >>> code = """( ... [ ... call1(), ...

[issue34372] Compiler could output more accurate line numbers

2018-08-10 Thread Arusekk
New submission from Arusekk : If this is a duplicate, please excuse me. In particular, the most noticeable inaccuracy happens when the postfix if-else expression is involved. Maybe there are more of them. The problem is quite self-explaining. The module named 'dis' will be helpful to