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 eric.smith
Recipients Delengowski, eric.smith, lys.nikolaou, pablogsal
Date 2022-01-04.23:17:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641338271.52.0.924869755586.issue46260@roundup.psfhosted.org>
In-reply-to
Content
Simpler reproducer:

>>> f"{foo)"
  File "<stdin>", line 1
    f"{foo)"
            ^
SyntaxError: f-string: unmatched ')'

I assume this is the same error as:

>>> foo)
  File "<stdin>", line 1
    foo)
       ^
SyntaxError: unmatched ')'

But I don't yet understand why it's choosing to parse that expression fragment. I'm working on it.
History
Date User Action Args
2022-01-04 23:17:51eric.smithsetrecipients: + eric.smith, lys.nikolaou, pablogsal, Delengowski
2022-01-04 23:17:51eric.smithsetmessageid: <1641338271.52.0.924869755586.issue46260@roundup.psfhosted.org>
2022-01-04 23:17:51eric.smithlinkissue46260 messages
2022-01-04 23:17:51eric.smithcreate