New submission from Aldwin Pollefeyt <aldwinald...@gmail.com>:
>From this idea [0] by Karthikeyan Singaravelan and added to his code in hack >[1]. name = "karthikeyan" print(f"{name =[}") print(f"{name=[}") print(f"{age = [}") print(f"{age= [}") [prog.py:2] name ='karthikeyan' [prog.py:3] name='karthikeyan' [prog.py:4] name = 'karthikeyan' [prog.py:5] name= 'karthikeyan' [0] https://tirkarthi.github.io/programming/2019/05/08/f-string-debugging.html [1] https://github.com/tirkarthi/cpython/commit/d0fcbe67f6bb8ad60744b0a4973c4dc69fda65a9 ---------- messages: 344533 nosy: aldwinaldwin, xtreak priority: normal severity: normal status: open title: f-string debugging f"{x=[}" adds [filename:lineno] as prefix type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37147> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com