Message343639
Minimal example to reproduce:
-->8--
>>> with open('f_bug.py', 'w') as fp:
... fp.write('f"{a b}"')
...
8
>>> import f_bug
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<fstring>", line 1
(a b)
^
SyntaxError: invalid syntax
-->8--
Here we see in track trace "<fstring>" and line number in erroneous expression in f-string, but no "f_bug.py" and line number in it. |
|
Date |
User |
Action |
Args |
2019-05-27 15:11:54 | ods | set | recipients:
+ ods |
2019-05-27 15:11:54 | ods | set | messageid: <1558969914.07.0.850758121851.issue37065@roundup.psfhosted.org> |
2019-05-27 15:11:53 | ods | link | issue37065 messages |
2019-05-27 15:11:53 | ods | create | |
|