[issue44284] Python references wrong line but correct line number in traceback

2021-06-02 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Unupdated source file in traceback ___ Python tracker ___

[issue44284] Python references wrong line but correct line number in traceback

2021-06-01 Thread helpimnotdrowning
New submission from helpimnotdrowning : To reproduce (at least on Windows 10 w/ Python 3.9.4): 1) Make a python file: while True: print('hello') 2) Run the file via cmd 3) Edit the file (while it is still running): while True: print('goodbye') print('hello') then save it 4)