[issue14008] Python uses the new source when reporting an old exception

2012-02-14 Thread Florent Xicluna
Changes by Florent Xicluna : -- resolution: -> duplicate status: open -> closed superseder: -> Unupdated source file in traceback ___ Python tracker ___ ___

[issue14008] Python uses the new source when reporting an old exception

2012-02-14 Thread Yuval Greenfield
New submission from Yuval Greenfield : I ran the following code: import time time.sleep(10) print 1 / 0 And then modified the source before it hit the exception, python prints out the wrong lines from the new source file. e:\Dropbox\dev\python\metricbot>c:\python32\python te