[3.11] gh-103956: Fix `trace` output in case of missing source line (GH-103958) by miss-islington · Pull Request #118833 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Conversation
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>
bedevere-app
Bot
added
the
awaiting review
label
This was referenced
serhiy-storchaka
commented
May 9, 2024
serhiy-storchaka commented
Member
Too late for 3.11.
serhiy-storchaka
closed this
miss-islington
deleted the
backport-7c87ce7-3.11
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment