summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-30 22:20:16 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-30 22:20:16 (GMT)
commitb90ffd88f1486896a380ee3a2e2ae0dfc8da1d49 (patch)
treeaf992a06e0ef9100a0c938f5d29fd3216ba2c1f5 /Misc
parent635edd199030f2c2f7de4369638c4c9a29226219 (diff)
downloadcpython-b90ffd88f1486896a380ee3a2e2ae0dfc8da1d49.zip
cpython-b90ffd88f1486896a380ee3a2e2ae0dfc8da1d49.tar.gz
cpython-b90ffd88f1486896a380ee3a2e2ae0dfc8da1d49.tar.bz2
Part of #7245: when KeyboardInterrupt is raised while defining commands, restore the old commands instead of producing a traceback.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2bfebd0..b7a5eda 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -475,6 +475,9 @@ C-API
Library
-------
+- In pdb, when Ctrl-C is entered while defining commands for a
+ breakpoint, the old commands are restored.
+
- For traceback debugging, the pdb listing now also shows the locations
where the exception was originally (re)raised, if it differs from the
last line executed (e.g. in case of finally clauses).