Skip to content

[3.11] gh-103956: Fix trace output in case of missing source line (GH-103958) - #118833

Closed
miss-islington wants to merge 1 commit into
python:3.11from
miss-islington:backport-7c87ce7-3.11
Closed

[3.11] gh-103956: Fix trace output in case of missing source line (GH-103958)#118833
miss-islington wants to merge 1 commit into
python:3.11from
miss-islington:backport-7c87ce7-3.11

Conversation

@miss-islington

@miss-islingtonmiss-islington commented May 9, 2024

Copy link
Copy Markdown
Contributor

Print only filename with lineno if linecache.getline() returns an empty string.
(cherry picked from commit 7c87ce7)

Co-authored-by: Radislav Chugunov 52372310+chgnrdv@users.noreply.github.com

…ythonGH-103958)
Print only filename with lineno if linecache.getline() returns an empty string.
(cherry picked from commit 7c87ce7)
Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
@serhiy-storchaka

Copy link
Copy Markdown
Member

Too late for 3.11.

@miss-islington
miss-islington deleted the backport-7c87ce7-3.11 branch January 2, 2026 16:54
Sign up for freeto 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.

3 participants

@miss-islington@serhiy-storchaka@chgnrdv