diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2023-04-25 01:31:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 01:31:21 (GMT) |
commit | 57f8f9a66d4d0b5e590f7746a58136b3b45b1336 (patch) | |
tree | f00a9a19fa8c4896b56548a307f15b3ad21b66af /Python/makeopcodetargets.py | |
parent | 3df3b91e6a0d84bcb954ec894d17f4603bdf428f (diff) | |
download | cpython-57f8f9a66d4d0b5e590f7746a58136b3b45b1336.zip cpython-57f8f9a66d4d0b5e590f7746a58136b3b45b1336.tar.gz cpython-57f8f9a66d4d0b5e590f7746a58136b3b45b1336.tar.bz2 |
gh-103718: Correctly set f-string buffers in all cases (GH-103815)
Turns out we always need to remember/restore fstring buffers in all of
the stack of tokenizer modes, cause they might change to
`TOK_REGULAR_MODE` and have newlines inside the braces (which is when we
need to reallocate the buffer and restore the fstring ones).
Diffstat (limited to 'Python/makeopcodetargets.py')
0 files changed, 0 insertions, 0 deletions