-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
parserRelated to the parserRelated to the parserpython312Related to Python 3.12Related to Python 3.12
Description
The task is to update the lexer to emit the new tokens for PEP 701: FStringStart, FStringMiddle and FStringEnd. Along with these, a new token Exclamation needs to be added for conversion flag (f"{foo!s}") as it's now part of the expression.
Some of the error handling which was previously done in the parser will need to be moved into the lexer.
UnterminatedStringUnterminatedTripleQuotedStringUnclosedLbrace- special case as implemented in the CPython tokenizerSingleRbrace
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
parserRelated to the parserRelated to the parserpython312Related to Python 3.12Related to Python 3.12