◐ Shell
clean mode source ↗

[3.11] gh-103956: Fix `trace` output in case of missing source line (GH-103958) by miss-islington · Pull Request #118833 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Conversation

@miss-islington

@miss-islington miss-islington commented

May 9, 2024

edited by bedevere-app Bot

Loading

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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington @serhiy-storchaka @chgnrdv