diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-09 13:05:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 13:05:37 (GMT) |
commit | c4b853f2a5a4601806f503f1833dce3a4e8d2b58 (patch) | |
tree | e01b6d92f22cdf811929f93d83c4e2110a80809b /Python/Python-ast.c | |
parent | d86b49411753bf2c83291e3a14ae43fefded2f84 (diff) | |
download | cpython-c4b853f2a5a4601806f503f1833dce3a4e8d2b58.zip cpython-c4b853f2a5a4601806f503f1833dce3a4e8d2b58.tar.gz cpython-c4b853f2a5a4601806f503f1833dce3a4e8d2b58.tar.bz2 |
[3.13] gh-103956: Fix `trace` output in case of missing source line (GH-103958) (GH-118834)
Print only filename with lineno if linecache.getline() returns an empty string.
(cherry picked from commit 7c87ce777b3fd9055b118a58ec8614901ecb45e9)
Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions