[issue39854] f-strings with format specifiers have wrong col_offset

2022-01-22 Thread Irit Katriel
Irit Katriel added the comment: Closing as 3.8 is only getting security fixes now. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue39854] f-strings with format specifiers have wrong col_offset

2022-01-22 Thread Stéphane Blondon
Stéphane Blondon added the comment: I can reproduce it on python 3.8. I can't reproduce it on python 3.9 or 3.10. -- nosy: +sblondon ___ Python tracker ___

[issue39854] f-strings with format specifiers have wrong col_offset

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: I am unable to reproduce this on 3.11: >>> ast.parse('f"{x}"').body[0].value.values[0].value.col_offset 3 >>> ast.parse('f"{x!r}"').body[0].value.values[0].value.col_offset 3 -- nosy: +iritkatriel ___ Python tracker

[issue39854] f-strings with format specifiers have wrong col_offset

2020-03-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: This looks like a duplicate of issue 35212 -- nosy: +BTaskaya, pablogsal ___ Python tracker ___

[issue39854] f-strings with format specifiers have wrong col_offset

2020-03-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39854] f-strings with format specifiers have wrong col_offset

2020-03-04 Thread Aaron Meurer
New submission from Aaron Meurer : This is tested in CPython master. The issue also occurs in older versions of Python. >>> ast.dump(ast.parse('f"{x}"')) "Module(body=[Expr(value=JoinedStr(values=[FormattedValue(value=Name(id='x', ctx=Load()), conversion=-1, format_spec=None)]))],