Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

F-string debug mode does not print correctly when in last line of file #105831

Closed
Assignees
lysnikolaou
Labels
type-bugAn unexpected behavior, bug, or error
@lysnikolaou

Description

@lysnikolaou

Where there's an f-string that has a debug expression in the last line of a file, the debug expression buffer is one character too short. For example:

```python3cpythononmainviaCv14.0.3-clangvia 🐍pyenv3.11.3took15scattmp/t.pyprint(f'''{3=}''')%cpythononmainviaCv14.0.3-clangvia 🐍pyenv3.11.3 ❯ ./python.exetmp/t.py33

A fix is already up as part ofgh-105828, so just opening this to track the issue.

Linked PRs

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp