<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Doc/c-api/structures.rst, branch enum-lost-fixes</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>Document PyMember_GetOne and PyMember_SetOne (GH-27555)</title>
<updated>2021-08-02T17:08:49+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-08-02T17:08:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9de590151d49f2988d3a5c4d30b9daf86616f6f3'/>
<id>9de590151d49f2988d3a5c4d30b9daf86616f6f3</id>
<content type='text'>
(cherry picked from commit d382bde220b4c07cce2b924ffeb7525ea1a969f4)

Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit d382bde220b4c07cce2b924ffeb7525ea1a969f4)

Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43753: Add Py_Is() and Py_IsNone() functions (GH-25227)</title>
<updated>2021-04-10T22:17:39+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-10T22:17:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=09bbebea163fe7303264cf4069c51d4d2f22fde4'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Convert Py_TYPE() and Py_SIZE() back to macros (GH-23366)</title>
<updated>2020-11-18T17:48:06+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-18T17:48:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0e2ac21dd4960574e89561243763eabba685296a'/>
<id>0e2ac21dd4960574e89561243763eabba685296a</id>
<content type='text'>
This change partically reverts
commit ad3252bad905d41635bcbb4b76db30d570cf0087
and the commit fe2978b3b940fe2478335e3a2ca5ad22338cdf9c.

Many third party C extension modules rely on the ability of using
Py_TYPE() to set an object type: "Py_TYPE(obj) = type;" or to set an
object type using: "Py_SIZE(obj) = size;".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change partically reverts
commit ad3252bad905d41635bcbb4b76db30d570cf0087
and the commit fe2978b3b940fe2478335e3a2ca5ad22338cdf9c.

Many third party C extension modules rely on the ability of using
Py_TYPE() to set an object type: "Py_TYPE(obj) = type;" or to set an
object type using: "Py_SIZE(obj) = size;".</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42171: Add PEP573-related items to the limited API (GH-23009)</title>
<updated>2020-11-10T13:47:31+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2020-11-10T13:47:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c'/>
<id>0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42294: Add borrowed/strong reference to doc glossary (GH-23206)</title>
<updated>2020-11-09T12:40:47+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-09T12:40:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=23c5f93b83f78f295313e137011edb18b24c37c2'/>
<id>23c5f93b83f78f295313e137011edb18b24c37c2</id>
<content type='text'>
Add "borrowed reference" and "strong reference" to the documentation
glossary.

Enhance also Py_INCREF() and Py_NewRef() documentation.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add "borrowed reference" and "strong reference" to the documentation
glossary.

Enhance also Py_INCREF() and Py_NewRef() documentation.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40204, doc: Fix syntax of C variables (GH-21846)</title>
<updated>2020-08-13T20:11:50+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-08-13T20:11:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=474652fe9346382dbf793f20b671eb74668bebde'/>
<id>474652fe9346382dbf793f20b671eb74668bebde</id>
<content type='text'>
For example, fix the following Sphinx 3 errors:

Doc/c-api/buffer.rst:102: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 5]
  void \*obj
  -----^

Doc/c-api/arg.rst:130: WARNING: Unparseable C cross-reference: 'PyObject*'
Invalid C declaration: Expected end of definition. [error at 8]
  PyObject*
  --------^

The modified documentation is compatible with Sphinx 2 and Sphinx 3.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For example, fix the following Sphinx 3 errors:

Doc/c-api/buffer.rst:102: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 5]
  void \*obj
  -----^

Doc/c-api/arg.rst:130: WARNING: Unparseable C cross-reference: 'PyObject*'
Invalid C declaration: Expected end of definition. [error at 8]
  PyObject*
  --------^

The modified documentation is compatible with Sphinx 2 and Sphinx 3.</pre>
</div>
</content>
</entry>
<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://git.baserock.org/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://git.baserock.org/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-40584: Update PyType_FromModuleAndSpec() to process tp_vectorcall_offset (GH-20026)</title>
<updated>2020-05-11T21:38:55+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-05-11T21:38:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=86d69444e7cfe758212956df0be0ec7b8a4251a6'/>
<id>86d69444e7cfe758212956df0be0ec7b8a4251a6</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: Update structures.rst docs (PEP 573) (GH-19980)</title>
<updated>2020-05-07T17:16:01+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-05-07T17:16:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c068b53a0ca6ebf740d98e422569d2f705e54f93'/>
<id>c068b53a0ca6ebf740d98e422569d2f705e54f93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
