<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/object.h, branch fix-cf-feature-versiob</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-39573: Convert Py_REFCNT and Py_SIZE to functions (GH-20429)</title>
<updated>2020-05-27T12:55:10+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-27T12:55:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fe2978b3b940fe2478335e3a2ca5ad22338cdf9c'/>
<id>fe2978b3b940fe2478335e3a2ca5ad22338cdf9c</id>
<content type='text'>
Convert Py_REFCNT() and Py_SIZE() macros to static inline functions.
They cannot be used as l-value anymore: use Py_SET_REFCNT() and
Py_SET_SIZE() to set an object reference count and size.

Replace &amp;Py_SIZE(self) with &amp;((PyVarObject*)self)-&gt;ob_size
in arraymodule.c.

This change is backward incompatible on purpose, to prepare the C API
for an opaque PyObject structure.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert Py_REFCNT() and Py_SIZE() macros to static inline functions.
They cannot be used as l-value anymore: use Py_SET_REFCNT() and
Py_SET_SIZE() to set an object reference count and size.

Replace &amp;Py_SIZE(self) with &amp;((PyVarObject*)self)-&gt;ob_size
in arraymodule.c.

This change is backward incompatible on purpose, to prepare the C API
for an opaque PyObject structure.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Convert Py_TYPE() to a static inline function (GH-20290)</title>
<updated>2020-05-25T16:52:54+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2020-05-25T16:52:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ad3252bad905d41635bcbb4b76db30d570cf0087'/>
<id>ad3252bad905d41635bcbb4b76db30d570cf0087</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38787: C API for module state access from extension methods (PEP 573) (GH-19936)</title>
<updated>2020-05-07T13:39:59+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2020-05-07T13:39:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e1becf46b4e3ba6d7d32ebf4bbd3e0804766a423'/>
<id>e1becf46b4e3ba6d7d32ebf4bbd3e0804766a423</id>
<content type='text'>
Module C state is now accessible from C-defined heap type methods (PEP 573).
Patch by Marcel Plch and Petr Viktorin.

Co-authored-by: Marcel Plch &lt;mplch@redhat.com&gt;
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Module C state is now accessible from C-defined heap type methods (PEP 573).
Patch by Marcel Plch and Petr Viktorin.

Co-authored-by: Marcel Plch &lt;mplch@redhat.com&gt;
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Remove extraneous ')' in abstract.h (GH-19146)</title>
<updated>2020-04-08T09:28:59+00:00</updated>
<author>
<name>Jimmy Yang</name>
<email>codingExpert123@gmail.com</email>
</author>
<published>2020-04-08T09:28:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ac2cfe6631b77a2005d8f16f034dbb6154f04ab2'/>
<id>ac2cfe6631b77a2005d8f16f034dbb6154f04ab2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40170: PyType_HasFeature() now always calls PyType_GetFlags() (GH-19378)</title>
<updated>2020-04-07T23:42:27+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-07T23:42:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=45ec5b99aefa54552947049086e87ec01bc2fc9a'/>
<id>45ec5b99aefa54552947049086e87ec01bc2fc9a</id>
<content type='text'>
PyType_HasFeature() now always calls PyType_GetFlags() to hide
implementation details. Previously, it accessed directly the
PyTypeObject.tp_flags member when the limited C API was not used.

Add fast inlined version _PyType_HasFeature() and _PyType_IS_GC()
for object.c and typeobject.c.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyType_HasFeature() now always calls PyType_GetFlags() to hide
implementation details. Previously, it accessed directly the
PyTypeObject.tp_flags member when the limited C API was not used.

Add fast inlined version _PyType_HasFeature() and _PyType_IS_GC()
for object.c and typeobject.c.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Make Py_IS_TYPE() take constant parameters (GH-18799)</title>
<updated>2020-03-06T08:03:58+00:00</updated>
<author>
<name>Andy Lester</name>
<email>andy@petdance.com</email>
</author>
<published>2020-03-06T08:03:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8767ce92d24d3687405848442e6c67cf0af1c657'/>
<id>8767ce92d24d3687405848442e6c67cf0af1c657</id>
<content type='text'>
Add _PyObject_CAST_CONST() macro: cast a pointer to (const PyObject *).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add _PyObject_CAST_CONST() macro: cast a pointer to (const PyObject *).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Add Py_IS_TYPE() function (GH-18488)</title>
<updated>2020-02-13T17:37:17+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2020-02-13T17:37:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d905df766c367c350f20c46ccd99d4da19ed57d8'/>
<id>d905df766c367c350f20c46ccd99d4da19ed57d8</id>
<content type='text'>
Co-Author: Neil Schemenauer &lt;nas-github@arctrix.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-Author: Neil Schemenauer &lt;nas-github@arctrix.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Fix bad copy-paste in Py_SET_SIZE (GH-18496)</title>
<updated>2020-02-13T17:34:45+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandtbucher@gmail.com</email>
</author>
<published>2020-02-13T17:34:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=968dcd9e7a4d3aa9aaa1dfca693adf60d6b71ce7'/>
<id>968dcd9e7a4d3aa9aaa1dfca693adf60d6b71ce7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Add Py_SET_SIZE() function (GH-18400)</title>
<updated>2020-02-07T11:05:12+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-02-07T11:05:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b10dc3e7a11fcdb97e285882eba6da92594f90f9'/>
<id>b10dc3e7a11fcdb97e285882eba6da92594f90f9</id>
<content type='text'>
Add Py_SET_SIZE() function to set the size of an object.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add Py_SET_SIZE() function to set the size of an object.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Add Py_SET_TYPE() function (GH-18394)</title>
<updated>2020-02-07T08:17:07+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-02-07T08:17:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d2ec81a8c99796b51fb8c49b77a7fe369863226f'/>
<id>d2ec81a8c99796b51fb8c49b77a7fe369863226f</id>
<content type='text'>
Add Py_SET_TYPE() function to set the type of an object.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add Py_SET_TYPE() function to set the type of an object.</pre>
</div>
</content>
</entry>
</feed>
