mirror of
https://github.com/python/cpython
synced 2026-10-30 08:11:56 +03:00
* [ 3.14 ] gh-155525: Avoid quadratic f-string tokenization
Adapt the original expression-span fix to the release tokenizer and retain interactive buffers while a formatted string is open.
Co-authored-by: gwosti <322952417+gwosti@users.noreply.github.com>
* gh-155525: Cover quadratic f-string tokenization regression (GH-156756)
* gh-155525: Avoid quadratic f-string tokenization
* fixup! gh-155525: Avoid quadratic f-string tokenization
---------
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| file_tokenizer.c | ||
| helpers.c | ||
| helpers.h | ||
| readline_tokenizer.c | ||
| string_tokenizer.c | ||
| tokenizer.h | ||
| utf8_tokenizer.c | ||