Skip to content

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

Merged
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-7c87ce7-3.13
May 9, 2024
Merged

[3.13] gh-103956: Fix trace output in case of missing source line (GH-103958)#118834
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-7c87ce7-3.13

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 9, 2024

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

Co-authored-by: Radislav Chugunov [email protected]

…ythonGH-103958)

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

Co-authored-by: Radislav Chugunov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants