summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAugusto Hack <hack.augusto@gmail.com>2020-12-24 17:16:04 (GMT)
committerGitHub <noreply@github.com>2020-12-24 17:16:04 (GMT)
commitb57ada98da0d5b0cf1ebc2c9c5502d04aa962042 (patch)
tree7390142bbab3d39a1486a339461699f4449bef87 /Misc
parenta9ef95b811296604d577e241c9adebf4d8ef99ae (diff)
downloadcpython-b57ada98da0d5b0cf1ebc2c9c5502d04aa962042.zip
cpython-b57ada98da0d5b0cf1ebc2c9c5502d04aa962042.tar.gz
cpython-b57ada98da0d5b0cf1ebc2c9c5502d04aa962042.tar.bz2
closes bpo-42726: gdb libpython: InstanceProxy support for py3 (GH-23912)
On Fedora 31 gdb is using python 3.7.9, calling `proxyval` on an instance with a dictionary fails because of the `dict.iteritems` usage. This PR changes the code to be compatible with py2 and py3. This changed seemed small enough to not need an issue and news blurb, if one is required please let me know. Automerge-Triggered-By: GH:benjaminp
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tools-Demos/2020-12-23-19-42-11.bpo-42726.a5EkTv.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tools-Demos/2020-12-23-19-42-11.bpo-42726.a5EkTv.rst b/Misc/NEWS.d/next/Tools-Demos/2020-12-23-19-42-11.bpo-42726.a5EkTv.rst
new file mode 100644
index 0000000..01a6e7f
--- /dev/null
+++ b/Misc/NEWS.d/next/Tools-Demos/2020-12-23-19-42-11.bpo-42726.a5EkTv.rst
@@ -0,0 +1,2 @@
+Fixed Python 3 compatibility issue with gdb/libpython.py handling of attribute
+dictionaries.