<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/object.h, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/object.h?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/object.h?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2021-10-07T13:00:23Z</updated>
<entry>
<title>[3.10] Fix typos in the Include directory (GH-28745) (GH-28789)</title>
<updated>2021-10-07T13:00:23Z</updated>
<author>
<name>Christian Clauss</name>
<email>cclauss@me.com</email>
</author>
<published>2021-10-07T13:00:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f6798391b5d61bb514ec285308a2ccd16b7188dc'/>
<id>urn:sha1:f6798391b5d61bb514ec285308a2ccd16b7188dc</id>
<content type='text'>
(cherry picked from commit 8e8f7522171ef82f2f5049940f815e00e38c6f42)</content>
</entry>
<entry>
<title>bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make Py_TPFLAGS_HAVE_VERSION_TAG no-op (GH-27260) (GH-27306)</title>
<updated>2021-07-23T14:56:53Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-07-23T14:56:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=632e8a69593efb12ec58d90e624ddf249a7a1b65'/>
<id>urn:sha1:632e8a69593efb12ec58d90e624ddf249a7a1b65</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.
(cherry picked from commit a4760cc32d9e5dac7be262e9736eb30502cd7be3)

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-44378: Fix a compiler warning in Py_IS_TYPE() (GH-26644)</title>
<updated>2021-06-11T08:57:16Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-06-11T08:57:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e6d28a1a6ad22125fc3a6df2d611d79aa8d6f67e'/>
<id>urn:sha1:e6d28a1a6ad22125fc3a6df2d611d79aa8d6f67e</id>
<content type='text'>
Py_IS_TYPE() no longer uses Py_TYPE() to avoid a compiler warning:
no longer cast "const PyObject*" to "PyObject*".
(cherry picked from commit 304dfec8d3c0763734ea8b5fa2af1d9e1ce69ffa)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>bpo-43916: Add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag (GH-25721)</title>
<updated>2021-04-30T10:46:15Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-30T10:46:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3bb09947ec4837de75532e21dd4bd25db0a1f1b7'/>
<id>urn:sha1:3bb09947ec4837de75532e21dd4bd25db0a1f1b7</id>
<content type='text'>
Add a new Py_TPFLAGS_DISALLOW_INSTANTIATION type flag to disallow
creating type instances: set tp_new to NULL and don't create the
"__new__" key in the type dictionary.

The flag is set automatically on static types if tp_base is NULL or
&amp;PyBaseObject_Type and tp_new is NULL.

Use the flag on the following types:

* _curses.ncurses_version type
* _curses_panel.panel
* _tkinter.Tcl_Obj
* _tkinter.tkapp
* _tkinter.tktimertoken
* _xxsubinterpretersmodule.ChannelID
* sys.flags type
* sys.getwindowsversion() type
* sys.version_info type

Update MyStr example in the C API documentation to use
Py_TPFLAGS_DISALLOW_INSTANTIATION.

Add _PyStructSequence_InitType() function to create a structseq type
with the Py_TPFLAGS_DISALLOW_INSTANTIATION flag set.

type_new() calls _PyType_CheckConsistency() at exit.</content>
</entry>
<entry>
<title>bpo-43977: Use tp_flags for collection matching (GH-25723)</title>
<updated>2021-04-30T08:50:28Z</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-04-30T08:50:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=069e81ab3da46c441335ca762c4333b7bd91861d'/>
<id>urn:sha1:069e81ab3da46c441335ca762c4333b7bd91861d</id>
<content type='text'>
* Add Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING, add to all relevant standard builtin classes.

* Set relevant flags on collections.abc.Sequence and Mapping.

* Use flags in MATCH_SEQUENCE and MATCH_MAPPING opcodes.

* Inherit Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING.

* Add NEWS

* Remove interpreter-state map_abc and seq_abc fields.</content>
</entry>
<entry>
<title>bpo-43908: Add Py_TPFLAGS_IMMUTABLETYPE flag (GH-25520)</title>
<updated>2021-04-28T17:02:42Z</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@innova.no</email>
</author>
<published>2021-04-28T17:02:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3b52c8d66b25415f09478ab43f93d59a3547dc13'/>
<id>urn:sha1:3b52c8d66b25415f09478ab43f93d59a3547dc13</id>
<content type='text'>
Introduce Py_TPFLAGS_IMMUTABLETYPE flag for immutable type objects, and
modify PyType_Ready() to set it for static types.

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>bpo-43753: Add Py_Is() and Py_IsNone() functions (GH-25227)</title>
<updated>2021-04-10T22:17:39Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-10T22:17:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=09bbebea163fe7303264cf4069c51d4d2f22fde4'/>
<id>urn:sha1:09bbebea163fe7303264cf4069c51d4d2f22fde4</id>
<content type='text'>
Add the Py_Is(x, y) function to test if the 'x' object is the 'y'
object, the same as "x is y" in Python. Add also the Py_IsNone(),
Py_IsTrue(), Py_IsFalse() functions to test if an object is,
respectively, the None singleton, the True singleton or the False
singleton.</content>
</entry>
<entry>
<title>bpo-43688: Support the limited C API in debug mode (GH-25131)</title>
<updated>2021-04-02T13:45:37Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-02T13:45:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3359cab038968935b40344fad7c30d211f9692e4'/>
<id>urn:sha1:3359cab038968935b40344fad7c30d211f9692e4</id>
<content type='text'>
The limited C API is now supported if Python is built in debug mode
(if the Py_DEBUG macro is defined). In the limited C API, the
Py_INCREF() and Py_DECREF() functions are now implemented as opaque
function calls, rather than accessing directly the PyObject.ob_refcnt
member, if Python is built in debug mode and the Py_LIMITED_API macro
targets Python 3.10 or newer. It became possible to support the
limited C API in debug mode because the PyObject structure is the
same in release and debug mode since Python 3.8 (see bpo-36465).

The limited C API is still not supported in the --with-trace-refs
special build (Py_TRACE_REFS macro).</content>
</entry>
<entry>
<title>bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)</title>
<updated>2021-02-26T22:51:55Z</updated>
<author>
<name>Brandt Bucher</name>
<email>brandtbucher@gmail.com</email>
</author>
<published>2021-02-26T22:51:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=145bf269df3530176f6ebeab1324890ef7070bf8'/>
<id>urn:sha1:145bf269df3530176f6ebeab1324890ef7070bf8</id>
<content type='text'>
Co-authored-by: Guido van Rossum &lt;guido@python.org&gt;
Co-authored-by: Talin &lt;viridia@gmail.com&gt;
Co-authored-by: Pablo Galindo &lt;pablogsal@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-43181: Convert PyObject_TypeCheck to static inline function (GH-24533)</title>
<updated>2021-02-15T16:19:24Z</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@innova.no</email>
</author>
<published>2021-02-15T16:19:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4bb2a1ebc569eee6f1b46ecef1965a26ae8cb76d'/>
<id>urn:sha1:4bb2a1ebc569eee6f1b46ecef1965a26ae8cb76d</id>
<content type='text'>
</content>
</entry>
</feed>
