]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44446: support lineno being None in traceback.FrameSummary (GH-26781)
authorFilipe Laíns <lains@riseup.net>
Thu, 8 Jul 2021 16:28:01 +0000 (17:28 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Jul 2021 16:28:01 +0000 (17:28 +0100)
commit91a8f8c16ca9a7e2466a8241d9b41769ef97d094
tree6ba42ea9ec9549291af04943f8c4521e613dfdfe
parentbbf2fb6c7ae78f40483606f467739a58cd747270
bpo-44446: support lineno being None in traceback.FrameSummary (GH-26781)

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

Signed-off-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]