Message323301
Inconsistent tracebacks. Note that the traceback for bug.py does not
reference the
module file and line number.
# bug.py
def f():
f'''
{d e}'''
a=b
import bug
Traceback (most recent call last):
File "<fstring>", line 1
(d e)
^
SyntaxError: invalid syntax
----------------------------------------
# bug2.py
def f():
f'''
{de}'''
a=b
import bug2
bug2.f()
Traceback (most recent call last):
File "C:\python\bug2.py", line 5, in <module>
a=b
NameError: name 'b' is not defined |
|
Date |
User |
Action |
Args |
2018-08-08 20:42:15 | bgailer | set | recipients:
+ bgailer |
2018-08-08 20:42:15 | bgailer | link | issue34364 messages |
2018-08-08 20:42:15 | bgailer | create | |
|