summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTian Gao <gaogaotiantian@hotmail.com>2023-09-04 21:44:40 (GMT)
committerGitHub <noreply@github.com>2023-09-04 21:44:40 (GMT)
commit6304d983a0656c1841769bf36e5b42819508d21c (patch)
treec2434229a5d2c480b41e5a0b24b004c28a2218f7 /Doc
parent7855d325e638a4b7f7b40f2c35dc80de82d8fe70 (diff)
downloadcpython-6304d983a0656c1841769bf36e5b42819508d21c.zip
cpython-6304d983a0656c1841769bf36e5b42819508d21c.tar.gz
cpython-6304d983a0656c1841769bf36e5b42819508d21c.tar.bz2
gh-108463: Make expressions/statements work as expected in pdb (#108464)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/pdb.rst4
-rw-r--r--Doc/whatsnew/3.13.rst4
2 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index 3aaac15..002eeef 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -252,6 +252,10 @@ change a variable or call a function. When an exception occurs in such a
statement, the exception name is printed but the debugger's state is not
changed.
+.. versionchanged:: 3.13
+ Expressions/Statements whose prefix is a pdb command are now correctly
+ identified and executed.
+
The debugger supports :ref:`aliases <debugger-aliases>`. Aliases can have
parameters which allows one a certain level of adaptability to the context under
examination.
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 5d8ecbb..de23172 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -173,6 +173,10 @@ pdb
the new ``exceptions [exc_number]`` command for Pdb. (Contributed by Matthias
Bussonnier in :gh:`106676`.)
+* Expressions/Statements whose prefix is a pdb command are now correctly
+ identified and executed.
+ (Contributed by Tian Gao in :gh:`108464`.)
+
sqlite3
-------