<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Tools/gdb, branch faster-bytes-iter</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-40019: Skip test_gdb if Python was optimized (GH-19081)</title>
<updated>2020-03-20T07:23:26+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-03-20T07:23:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7bf069b6110278102c8f4719975a5eb5a5af25f9'/>
<id>7bf069b6110278102c8f4719975a5eb5a5af25f9</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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test_gdb now skips tests if it detects that gdb failed to read debug
information because the Python binary is optimized.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36184: Port python-gdb.py to FreeBSD (GH-18873)</title>
<updated>2020-03-09T18:35:26+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-03-09T18:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6d0ee60740f2862a878f009671b1aaa75aeb0c2a'/>
<id>6d0ee60740f2862a878f009671b1aaa75aeb0c2a</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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-16637: libpython: construct integer object directly from gdbvalue (GH-15232)</title>
<updated>2019-09-24T03:34:12+00:00</updated>
<author>
<name>Marc Hartmayer</name>
<email>marc1006@users.noreply.github.com</email>
</author>
<published>2019-09-24T03:34:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6f53d34fb0f944a8c0ee530334c353559ac40f72'/>
<id>6f53d34fb0f944a8c0ee530334c353559ac40f72</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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37151: remove special case for PyCFunction from PyObject_Call (GH-14684)</title>
<updated>2019-09-11T11:01:01+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-09-11T11:01:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7a6873cdb1f496447ac5d57ae457eacbb56b7972'/>
<id>7a6873cdb1f496447ac5d57ae457eacbb56b7972</id>
<content type='text'>
bpo-37151: remove special case for PyCFunction from PyObject_Call

Alse, make the undocumented function PyCFunction_Call an alias
of PyObject_Call and deprecate it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-37151: remove special case for PyCFunction from PyObject_Call

Alse, make the undocumented function PyCFunction_Call an alias
of PyObject_Call and deprecate it.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36974: separate vectorcall functions for each calling convention (GH-13781)</title>
<updated>2019-07-05T12:48:24+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-07-05T12:48:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0d722f3cd602e5f5492f9c65c8af57ea9d3743b6'/>
<id>0d722f3cd602e5f5492f9c65c8af57ea9d3743b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37151: remove _PyCFunction_FastCallDict (GH-14269)</title>
<updated>2019-06-20T15:38:45+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-06-20T15:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7e1a9aacff95c68d284f31666fe293fa2db5406d'/>
<id>7e1a9aacff95c68d284f31666fe293fa2db5406d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36974: rename _FastCallKeywords -&gt; _Vectorcall (GH-13653)</title>
<updated>2019-05-30T13:11:22+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-30T13:11:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=37788bc23f6f1ed0362b9b3b248daf296c024849'/>
<id>37788bc23f6f1ed0362b9b3b248daf296c024849</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36974: Fix GDB integration (GH-13665)</title>
<updated>2019-05-29T20:45:41+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2019-05-29T20:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fecb75c1bb46c818e6579ba422cfa5d0d9d104d1'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)</title>
<updated>2019-03-12T03:21:25+00:00</updated>
<author>
<name>Lisa Roach</name>
<email>lisaroach14@gmail.com</email>
</author>
<published>2019-03-12T03:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1ceb3a3d172dcf0ddff38d5d6b559443ad065b84'/>
<id>1ceb3a3d172dcf0ddff38d5d6b559443ad065b84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34989: python-gdb.py: fix current_line_num() (GH-9889)</title>
<updated>2018-10-15T21:19:57+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-10-15T21:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2e438cc2554495b28480a3ffe5cdf41b6ab823a0'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
</feed>
