diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-06-15 23:59:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 23:59:56 +0200 |
commit | e36f94f204f3257a206a7766464a94230337fd18 (patch) | |
tree | cb376223e21d6e00c6b9d70602c8be493a9aa0eb /Misc | |
parent | 184e8ed1eeda3ba869755ff37374dd86f332f30d (diff) | |
download | cpython-git-e36f94f204f3257a206a7766464a94230337fd18.tar.gz |
bpo-32962: Backport python-gdb.py and test_gdb.py from master (GH-7726)
* bpo-32962: python-gdb catchs ValueError on read_var() (GH-7692)
python-gdb now catchs ValueError on read_var(): when Python has no
debug symbols for example.
(cherry picked from commit 019d33b7a447e78057842332fb5d3bad01922122)
* bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693)
python-gdb now catchs UnicodeDecodeError exceptions when calling
string().
(cherry picked from commit d22fc0bc7de7882da204abe50884bbde2da4f9e7)
bpo-29367: python-gdb.py now supports also method-wrapper
(wrapperobject) objects.
(cherry picked from commit 611083331d534481ca7956a376e38fb0e9ef3854)
Diffstat (limited to 'Misc')
3 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-06-14-16-16-53.bpo-32962.2YfdwI.rst b/Misc/NEWS.d/next/Tools-Demos/2018-06-14-16-16-53.bpo-32962.2YfdwI.rst new file mode 100644 index 0000000000..de40070795 --- /dev/null +++ b/Misc/NEWS.d/next/Tools-Demos/2018-06-14-16-16-53.bpo-32962.2YfdwI.rst @@ -0,0 +1,2 @@ +python-gdb now catchs ValueError on read_var(): when Python has no debug +symbols for example. diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-06-14-16-23-07.bpo-32962.Q3Dwns.rst b/Misc/NEWS.d/next/Tools-Demos/2018-06-14-16-23-07.bpo-32962.Q3Dwns.rst new file mode 100644 index 0000000000..fc14261019 --- /dev/null +++ b/Misc/NEWS.d/next/Tools-Demos/2018-06-14-16-23-07.bpo-32962.Q3Dwns.rst @@ -0,0 +1,2 @@ +python-gdb now catchs ``UnicodeDecodeError`` exceptions when calling +``string()``. diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-06-15-23-07-50.bpo-29367.52w9Uq.rst b/Misc/NEWS.d/next/Tools-Demos/2018-06-15-23-07-50.bpo-29367.52w9Uq.rst new file mode 100644 index 0000000000..48e4124c08 --- /dev/null +++ b/Misc/NEWS.d/next/Tools-Demos/2018-06-15-23-07-50.bpo-29367.52w9Uq.rst @@ -0,0 +1 @@ +python-gdb.py now supports also method-wrapper (wrapperobject) objects. |