<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Tools/gdb, branch 3.10</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>gh-91595: fix the comparison of character and integer by using ord() (GH-91596)</title>
<updated>2022-04-16T14:59:32+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-04-16T14:59:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=84c279b514141f608cf480905c87d48998e296d1'/>
<id>84c279b514141f608cf480905c87d48998e296d1</id>
<content type='text'>
* fix the comparison of character and integer by using ord()

* 📜🤖 Added by blurb_it.

Co-authored-by: blurb-it[bot] &lt;43283697+blurb-it[bot]@users.noreply.github.com&gt;
(cherry picked from commit 9300b6d72948b94c0924a75ea14c6298156522d0)

Co-authored-by: Yu Liu &lt;yuki.liu@utexas.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix the comparison of character and integer by using ord()

* 📜🤖 Added by blurb_it.

Co-authored-by: blurb-it[bot] &lt;43283697+blurb-it[bot]@users.noreply.github.com&gt;
(cherry picked from commit 9300b6d72948b94c0924a75ea14c6298156522d0)

Co-authored-by: Yu Liu &lt;yuki.liu@utexas.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-27129: Use instruction offsets, not byte offsets, in bytecode and internally. (GH-25069)</title>
<updated>2021-04-01T15:00:31+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-04-01T15:00:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fcb55c0037baab6f98f91ee38ce84b6f874f034a'/>
<id>fcb55c0037baab6f98f91ee38ce84b6f874f034a</id>
<content type='text'>
* Use instruction offset, rather than bytecode offset. Streamlines interpreter dispatch a bit, and removes most EXTENDED_ARGs for jumps.

* Change some uses of PyCode_Addr2Line to PyFrame_GetLineNumber</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use instruction offset, rather than bytecode offset. Streamlines interpreter dispatch a bit, and removes most EXTENDED_ARGs for jumps.

* Change some uses of PyCode_Addr2Line to PyFrame_GetLineNumber</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-42726: gdb libpython: InstanceProxy support for py3 (GH-23912)</title>
<updated>2020-12-24T17:16:04+00:00</updated>
<author>
<name>Augusto Hack</name>
<email>hack.augusto@gmail.com</email>
</author>
<published>2020-12-24T17:16:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b57ada98da0d5b0cf1ebc2c9c5502d04aa962042'/>
<id>b57ada98da0d5b0cf1ebc2c9c5502d04aa962042</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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42246: Partial implementation of PEP 626. (GH-23113)</title>
<updated>2020-11-12T09:43:29+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2020-11-12T09:43:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=877df851c3ecdb55306840e247596e7b7805a60a'/>
<id>877df851c3ecdb55306840e247596e7b7805a60a</id>
<content type='text'>
* Implement new line number table format, as defined in PEP 626.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Implement new line number table format, as defined in PEP 626.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42208: Fix test_gdb for gc_collect_main() name (GH-23041)</title>
<updated>2020-10-30T20:09:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-30T20:09:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b9ee4af4c643a323779fd7076e80b29d611f2709'/>
<id>b9ee4af4c643a323779fd7076e80b29d611f2709</id>
<content type='text'>
The gcmodule.c collect() function was renamed to gc_collect_main():
update gdb/libpython.py (python-gdb.py).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The gcmodule.c collect() function was renamed to gc_collect_main():
update gdb/libpython.py (python-gdb.py).</pre>
</div>
</content>
</entry>
<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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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>
</feed>
