]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Mar 2019 04:00:59 +0000 (21:00 -0700)
committerGitHub <noreply@github.com>
Tue, 12 Mar 2019 04:00:59 +0000 (21:00 -0700)
commit1c4580d1f563173f5d6ec990b46bd38f4ae901a1
tree2bed141c76dd65de3e9a579f12a26132df8105d8
parent2c177ec6c542d9924222f9ef3f97858ce7f27453
[3.7] bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103) (GH-12285)

This is relevant for `debug doesnotexist()`, which would crash with a
NameError otherwise.
(cherry picked from commit 3e936431e23b424b1e4665e8165c245924f0ab02)

Co-authored-by: Daniel Hahler <github@thequod.de>
https://bugs.python.org/issue35931
Lib/pdb.py
Lib/test/test_pdb.py
Misc/NEWS.d/next/Library/2019-02-07-16-22-50.bpo-35931._63i7B.rst [deleted file]
Misc/NEWS.d/next/Library/2019-03-11-22-06-36.bpo-35931.Qp_Tbe.rst [new file with mode: 0644]