<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Tools/gdb/libpython.py, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Tools/gdb/libpython.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Tools/gdb/libpython.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-12-24T17:34:28Z</updated>
<entry>
<title>closes bpo-42726: gdb libpython: InstanceProxy support for py3 (GH-23912)</title>
<updated>2020-12-24T17:34:28Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-12-24T17:34:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=efd64c8ea0fed1c13839cec0feea450820da34f8'/>
<id>urn:sha1:efd64c8ea0fed1c13839cec0feea450820da34f8</id>
<content type='text'>
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
(cherry picked from commit b57ada98da0d5b0cf1ebc2c9c5502d04aa962042)

Co-authored-by: Augusto Hack &lt;hack.augusto@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-40019: Skip test_gdb if Python was optimized (GH-19081)</title>
<updated>2020-03-31T17:27:41Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-03-31T17:27:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4ced9a7611ddfd923bd8f72aa61121d0e5aeb8fc'/>
<id>urn:sha1:4ced9a7611ddfd923bd8f72aa61121d0e5aeb8fc</id>
<content type='text'>
test_gdb now skips tests if it detects that gdb failed to read debug
information because the Python binary is optimized.
(cherry picked from commit 7bf069b6110278102c8f4719975a5eb5a5af25f9)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>bpo-36184: Port python-gdb.py to FreeBSD (GH-18873)</title>
<updated>2020-03-09T18:52:27Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-03-09T18:52:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5854d451cb35ac38bc07b95afeb077e8a35d5c7d'/>
<id>urn:sha1:5854d451cb35ac38bc07b95afeb077e8a35d5c7d</id>
<content type='text'>
python-gdb.py now checks for "take_gil" function name to check if a
frame tries to acquire the GIL, instead of checking for
"pthread_cond_timedwait" which is specific to Linux and can be a
different condition than the GIL.
(cherry picked from commit 6d0ee60740f2862a878f009671b1aaa75aeb0c2a)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>closes bpo-16637: libpython: construct integer object directly from gdbvalue (GH-15232)</title>
<updated>2019-09-24T03:52:50Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-24T03:52:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b94eb8d14f5a5b20dc2a999d6ca6219214b458c'/>
<id>urn:sha1:5b94eb8d14f5a5b20dc2a999d6ca6219214b458c</id>
<content type='text'>
This fixes the exception '`ValueError: invalid literal for int() with base 10`
if `str(gdbval)` returns a hexadecimal value (e.g. '0xa0'). This is the case if
the output-radix is set to 16 in gdb. See
https://sourceware.org/gdb/onlinedocs/gdb/Numbers.html for more information.
(cherry picked from commit 6f53d34fb0f944a8c0ee530334c353559ac40f72)

Co-authored-by: Marc Hartmayer &lt;marc1006@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-36974: separate vectorcall functions for each calling convention (GH-13781) (#14782)</title>
<updated>2019-07-23T10:39:51Z</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-07-23T10:39:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bf8e82f976b37856c7d35cdf88a238cb6f57fe65'/>
<id>urn:sha1:bf8e82f976b37856c7d35cdf88a238cb6f57fe65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-36974: rename _FastCallKeywords -&gt; _Vectorcall (GH-13653)</title>
<updated>2019-05-30T13:11:22Z</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-30T13:11:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=37788bc23f6f1ed0362b9b3b248daf296c024849'/>
<id>urn:sha1:37788bc23f6f1ed0362b9b3b248daf296c024849</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-36974: Fix GDB integration (GH-13665)</title>
<updated>2019-05-29T20:45:41Z</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2019-05-29T20:45:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fecb75c1bb46c818e6579ba422cfa5d0d9d104d1'/>
<id>urn:sha1:fecb75c1bb46c818e6579ba422cfa5d0d9d104d1</id>
<content type='text'>
As it changes the way functions are called, the PEP 590 implementation
skipped the functions that the GDB integration is looking for
(by name) to find function calls.

Looking for the new helper `cfunction_call_varargs` hopefully fixes the
tests, and thus buildbots.

The changed frame nuber in test_gdb is due to there being fewer
C calls when calling a built-in method.</content>
</entry>
<entry>
<title>bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)</title>
<updated>2019-03-12T03:21:25Z</updated>
<author>
<name>Lisa Roach</name>
<email>lisaroach14@gmail.com</email>
</author>
<published>2019-03-12T03:21:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1ceb3a3d172dcf0ddff38d5d6b559443ad065b84'/>
<id>urn:sha1:1ceb3a3d172dcf0ddff38d5d6b559443ad065b84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-34989: python-gdb.py: fix current_line_num() (GH-9889)</title>
<updated>2018-10-15T21:19:57Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-10-15T21:19:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e438cc2554495b28480a3ffe5cdf41b6ab823a0'/>
<id>urn:sha1:2e438cc2554495b28480a3ffe5cdf41b6ab823a0</id>
<content type='text'>
python-gdb.py now handles errors on computing the line number
of a Python frame.

Changes:

* PyFrameObjectPtr.current_line_num() now catchs any Exception on
  calling addr2line(), instead of failing with a surprising "&lt;class
  'TypeError'&gt; 'FakeRepr' object is not subscriptable" error.
* All callers of current_line_num() now handle current_line_num()
  returning None.
* PyFrameObjectPtr.current_line() now also catchs IndexError on
  getting a line from the Python source file.</content>
</entry>
<entry>
<title>bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693)</title>
<updated>2018-06-14T20:34:52Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-06-14T20:34:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d22fc0bc7de7882da204abe50884bbde2da4f9e7'/>
<id>urn:sha1:d22fc0bc7de7882da204abe50884bbde2da4f9e7</id>
<content type='text'>
python-gdb now catchs UnicodeDecodeError exceptions when calling
string().</content>
</entry>
</feed>
