<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects/typeobject.c, branch master</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>bpo-45198: __set_name__ documentation not clear about its usage with non-descriptor classes (GH-28439)</title>
<updated>2021-09-18T06:49:43+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2021-09-18T06:49:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=94b462686b7dfabbd69cc9401037d736d71c4dc2'/>
<id>94b462686b7dfabbd69cc9401037d736d71c4dc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44990: Change layout of evaluation frames. "Layout B" (GH-27933)</title>
<updated>2021-08-25T12:44:20+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-08-25T12:44:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f9242d50b18572ef0d584a1c815ed08d1a38e4f4'/>
<id>f9242d50b18572ef0d584a1c815ed08d1a38e4f4</id>
<content type='text'>
Places the locals between the specials and stack. This is the more "natural" layout for a C struct, makes the code simpler and gives a slight speedup (~1%)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Places the locals between the specials and stack. This is the more "natural" layout for a C struct, makes the code simpler and gives a slight speedup (~1%)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42035: Add PyType_GetQualName() to get a type's qualified name. (GH-27551)</title>
<updated>2021-08-17T13:39:34+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2021-08-17T13:39:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3e2c643ae0b21f9e596bfd9c8ec99ca546ea8d0f'/>
<id>3e2c643ae0b21f9e596bfd9c8ec99ca546ea8d0f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44914: Maintain invariants of type version tags. (GH-27773)</title>
<updated>2021-08-16T11:21:34+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-08-16T11:21:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1a511dc92dd10ee8fc2e5da9f52f795924bdc89a'/>
<id>1a511dc92dd10ee8fc2e5da9f52f795924bdc89a</id>
<content type='text'>
* Do not invalidate type versions unnecessarily.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Do not invalidate type versions unnecessarily.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44821: Eagerly assign __dict__ for new objects. (GH-27589)</title>
<updated>2021-08-04T15:41:14+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-08-04T15:41:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cee67fa66129b5d1db5c8aa3884338f82f0da3de'/>
<id>cee67fa66129b5d1db5c8aa3884338f82f0da3de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42035: Add a PyType_GetName() to get type's short name. (GH-23903)</title>
<updated>2021-07-29T07:57:02+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2021-07-29T07:57:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a390ebea17a96d1c93fc5f75b1e19916090a4561'/>
<id>a390ebea17a96d1c93fc5f75b1e19916090a4561</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44590: Lazily allocate frame objects (GH-27077)</title>
<updated>2021-07-26T10:22:16+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-07-26T10:22:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ae0a2b756255629140efcbe57fc2e714f0267aa3'/>
<id>ae0a2b756255629140efcbe57fc2e714f0267aa3</id>
<content type='text'>
* Convert "specials" array to InterpreterFrame struct, adding f_lasti, f_state and other non-debug FrameObject fields to it.

* Refactor, calls pushing the call to the interpreter upward toward _PyEval_Vector.

* Compute f_back when on thread stack, only filling in value when frame object outlives stack invocation.

* Move ownership of InterpreterFrame in generator from frame object to generator object.

* Do not create frame objects for Python calls.

* Do not create frame objects for generators.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Convert "specials" array to InterpreterFrame struct, adding f_lasti, f_state and other non-debug FrameObject fields to it.

* Refactor, calls pushing the call to the interpreter upward toward _PyEval_Vector.

* Compute f_back when on thread stack, only filling in value when frame object outlives stack invocation.

* Move ownership of InterpreterFrame in generator from frame object to generator object.

* Do not create frame objects for Python calls.

* Do not create frame objects for generators.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make Py_TPFLAGS_HAVE_VERSION_TAG no-op (GH-27260)</title>
<updated>2021-07-23T13:21:11+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2021-07-23T13:21:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a4760cc32d9e5dac7be262e9736eb30502cd7be3'/>
<id>a4760cc32d9e5dac7be262e9736eb30502cd7be3</id>
<content type='text'>
* Remove code that checks Py_TPFLAGS_HAVE_VERSION_TAG
    
    The field is always present in the type struct, as explained
    in the added comment.

* Remove Py_TPFLAGS_HAVE_AM_SEND
    
    The flag is not needed, and since it was added in 3.10 it can be removed now.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove code that checks Py_TPFLAGS_HAVE_VERSION_TAG
    
    The field is always present in the type struct, as explained
    in the added comment.

* Remove Py_TPFLAGS_HAVE_AM_SEND
    
    The flag is not needed, and since it was added in 3.10 it can be removed now.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44654: Refactor and clean up the union type implementation (GH-27196)</title>
<updated>2021-07-17T19:44:10+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2021-07-17T19:44:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0fd27375cabd12e68a2f12cfeca11a2d5043429e'/>
<id>0fd27375cabd12e68a2f12cfeca11a2d5043429e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44184: Apply GH-26274 to the non-GC-type branch of subtype_dealloc (GH-27165)</title>
<updated>2021-07-15T22:40:57+00:00</updated>
<author>
<name>T. Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2021-07-15T22:40:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=074e7659f208051b6b973f7fdb654dd22b93aaa2'/>
<id>074e7659f208051b6b973f7fdb654dd22b93aaa2</id>
<content type='text'>
The non-GC-type branch of subtype_dealloc is using the type of an object after freeing in the same unsafe way as GH-26274 fixes. (I believe the old news entry covers this change well enough.)

https://bugs.python.org/issue44184
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The non-GC-type branch of subtype_dealloc is using the type of an object after freeing in the same unsafe way as GH-26274 fixes. (I believe the old news entry covers this change well enough.)

https://bugs.python.org/issue44184
</pre>
</div>
</content>
</entry>
</feed>
