This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bgailer
Recipients bgailer
Date 2018-08-08.20:42:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <31c748a7-5e57-009a-08e5-c18171489bc0@gmail.com>
In-reply-to
Content
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
History
Date User Action Args
2018-08-08 20:42:15bgailersetrecipients: + bgailer
2018-08-08 20:42:15bgailerlinkissue34364 messages
2018-08-08 20:42:15bgailercreate