Skip to content

[3.13] gh-146615: Fix format specifiers in Objects/ directory (GH-146620) #147705

Open
sunmy2019 wants to merge 1 commit intopython:3.13from
sunmy2019:gh-146615-7
Open

[3.13] gh-146615: Fix format specifiers in Objects/ directory (GH-146620) #147705
sunmy2019 wants to merge 1 commit intopython:3.13from
sunmy2019:gh-146615-7

Conversation

@sunmy2019
Copy link
Copy Markdown
Member

@sunmy2019 sunmy2019 commented Mar 31, 2026

I found a new error specific to 3.13.

cpython/Parser/lexer/lexer.c

Lines 1107 to 1110 in fc1c644

if (the_current_tok->f_string_quote == quote &&
the_current_tok->f_string_quote_size == quote_size) {
return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "f-string: expecting '}'", start));
}

-      return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "f-string: expecting '}'", start));
+      return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "f-string: expecting '}'")); 

This is fixed by 6020260 in 3.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant