<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cpython.git/Tools/gdb/libpython.py, branch v3.11.12</title>
<subtitle>https://github.com/python/cpython.git</subtitle>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/'/>
<entry>
<title>[3.11] gh-89419: gdb: fix bug causing AttributeError in py-locals when no frame is available (GH-100611) (#100738)</title>
<updated>2023-01-04T07:59:21Z</updated>
<author>
<name>Eli Schwartz</name>
<email>eschwartz93@gmail.com</email>
</author>
<published>2023-01-04T07:59:21Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=d8073ee6f318773c2600f1e486ccab2504a03cdd'/>
<id>d8073ee6f318773c2600f1e486ccab2504a03cdd</id>
<content type='text'>
gh-89419: gdb: fix bug causing AttributeError in py-locals when no frame is available (GH-100611)

```
Unable to read information on python frame
Python Exception &lt;class 'AttributeError'&gt;: 'NoneType' object has no attribute 'co_name'
```

Regression in commit b4903afd4debbbd71dc49a2c8fefa74a3b6c6832. While
refactoring the code into a while loop, the previous early return when
no frame exists went missing. We have just printed a message that we
cannot get information about this, so the frame will be None, and we
cannot attempt to use it.

Discovered on python 3.11, in python 3.12a2 this should error out with
`.is_shim()` instead of `co_name`.

(cherry picked from commit 85869498331f7020e18bb243c89cd694f674b911)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gh-89419: gdb: fix bug causing AttributeError in py-locals when no frame is available (GH-100611)

```
Unable to read information on python frame
Python Exception &lt;class 'AttributeError'&gt;: 'NoneType' object has no attribute 'co_name'
```

Regression in commit b4903afd4debbbd71dc49a2c8fefa74a3b6c6832. While
refactoring the code into a while loop, the previous early return when
no frame exists went missing. We have just printed a message that we
cannot get information about this, so the frame will be None, and we
cannot attempt to use it.

Discovered on python 3.11, in python 3.12a2 this should error out with
`.is_shim()` instead of `co_name`.

(cherry picked from commit 85869498331f7020e18bb243c89cd694f674b911)</pre>
</div>
</content>
</entry>
<entry>
<title>GH-88116: Use a compact format to represent end line and column offsets. (GH-91666)</title>
<updated>2022-04-21T15:10:37Z</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2022-04-21T15:10:37Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=944fffee8916cb94321fa33cd3a43f4108717746'/>
<id>944fffee8916cb94321fa33cd3a43f4108717746</id>
<content type='text'>
* Stores all location info in linetable to conform to PEP 626.

* Remove column table from code objects.

* Remove end-line table from code objects.

* Document new location table format
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Stores all location info in linetable to conform to PEP 626.

* Remove column table from code objects.

* Remove end-line table from code objects.

* Document new location table format
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-91595: fix the comparison of character and integer by using ord() (#91596)</title>
<updated>2022-04-16T14:34:48Z</updated>
<author>
<name>Yu Liu</name>
<email>yuki.liu@utexas.edu</email>
</author>
<published>2022-04-16T14:34:48Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=9300b6d72948b94c0924a75ea14c6298156522d0'/>
<id>9300b6d72948b94c0924a75ea14c6298156522d0</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;</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;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-47177: Replace `f_lasti` with `prev_instr` (GH-32208)</title>
<updated>2022-04-07T19:31:01Z</updated>
<author>
<name>Brandt Bucher</name>
<email>brandtbucher@microsoft.com</email>
</author>
<published>2022-04-07T19:31:01Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=ef6a482b0285870c45f39c9b17ed827362b334ae'/>
<id>ef6a482b0285870c45f39c9b17ed827362b334ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tools/gdb: Drop code to support Python 2. (GH-31717)</title>
<updated>2022-03-15T08:04:11Z</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2022-03-15T08:04:11Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=52f6ce396ddf1e99205796ae6ad3d880c2713e3e'/>
<id>52f6ce396ddf1e99205796ae6ad3d880c2713e3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46845: Reduce dict size when all keys are Unicode (GH-31564)</title>
<updated>2022-03-01T23:09:28Z</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2022-03-01T23:09:28Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=9833bb91e4d5c2606421d9ec2085f5c2dfb6f72c'/>
<id>9833bb91e4d5c2606421d9ec2085f5c2dfb6f72c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45256: Don't track the exact depth of each `InterpreterFrame` (GH-30372)</title>
<updated>2022-01-05T11:30:26Z</updated>
<author>
<name>Brandt Bucher</name>
<email>brandt@python.org</email>
</author>
<published>2022-01-05T11:30:26Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=332e6b972567debfa9d8f3f9a4a966c7ad15eec9'/>
<id>332e6b972567debfa9d8f3f9a4a966c7ad15eec9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-46131: add fastpath for PyFloat_Check() (GH-30200)" (GH-30208)</title>
<updated>2021-12-19T21:05:46Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2021-12-19T21:05:46Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=29ea68bd1dcf30842c2ed908a6d815bc1d90f484'/>
<id>29ea68bd1dcf30842c2ed908a6d815bc1d90f484</id>
<content type='text'>
This reverts commit 2ef06d412531d1163dbc72877c88aedf3ed82a25.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 2ef06d412531d1163dbc72877c88aedf3ed82a25.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46131: add fastpath for PyFloat_Check() (#30200)</title>
<updated>2021-12-19T20:24:30Z</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2021-12-19T20:24:30Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=2ef06d412531d1163dbc72877c88aedf3ed82a25'/>
<id>2ef06d412531d1163dbc72877c88aedf3ed82a25</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45947: Place dict and values pointer at fixed (negative) offset just before GC header. (GH-29879)</title>
<updated>2021-12-07T16:02:53Z</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-12-07T16:02:53Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=8319114feedd2a5b77378bba24eb9fb2689c5033'/>
<id>8319114feedd2a5b77378bba24eb9fb2689c5033</id>
<content type='text'>
* Place __dict__ immediately before GC header for plain Python objects.

* Fix up lazy dict creation logic to use managed dict pointers.

* Manage values pointer, placing them directly before managed dict pointers.

* Convert hint-based load/store attr specialization target managed dict classes.

* Specialize LOAD_METHOD for managed dict objects.

* Remove unsafe _PyObject_GC_Calloc function.

* Remove unsafe _PyObject_GC_Malloc() function.

* Add comment explaning use of Py_TPFLAGS_MANAGED_DICT.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Place __dict__ immediately before GC header for plain Python objects.

* Fix up lazy dict creation logic to use managed dict pointers.

* Manage values pointer, placing them directly before managed dict pointers.

* Convert hint-based load/store attr specialization target managed dict classes.

* Specialize LOAD_METHOD for managed dict objects.

* Remove unsafe _PyObject_GC_Calloc function.

* Remove unsafe _PyObject_GC_Malloc() function.

* Add comment explaning use of Py_TPFLAGS_MANAGED_DICT.</pre>
</div>
</content>
</entry>
</feed>
