]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-44446: support lineno being None in traceback.FrameSummary (GH-26781)...
authorPablo Galindo <Pablogsal@gmail.com>
Thu, 8 Jul 2021 16:47:12 +0000 (17:47 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Jul 2021 16:47:12 +0000 (17:47 +0100)
commit61eb9b5dfd919ba5d1ec9f7df0137f2e6d196972
treefa805daccaad03d52a4de936921f585520aabb93
parent08697ac5d1543fca3629c719ab43e50d73021631
[3.10] bpo-44446: support lineno being None in traceback.FrameSummary (GH-26781) (GH-27072)

As of 088a15c49d99ecb4c3bef93f8f40dd513c6cae3b, lineno is None instead
of -1 if there is no line number.

Signed-off-by: Filipe Laíns <lains@riseup.net>.
(cherry picked from commit 91a8f8c16ca9a7e2466a8241d9b41769ef97d094)

Co-authored-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Filipe Laíns <lains@riseup.net>
Lib/test/test_traceback.py
Lib/traceback.py
Misc/NEWS.d/next/Library/2021-06-17-22-39-34.bpo-44446.qwdRic.rst [new file with mode: 0644]