<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/pyerrors.h, branch benjamin-interp-initialize</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>Define _Py_NO_RETURN for Microsoft C compiler (GH-8606)</title>
<updated>2018-08-01T14:41:25+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-08-01T14:41:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=cfc8831f5ed607048679427f7d76d6cb4f8a2e8a'/>
<id>cfc8831f5ed607048679427f7d76d6cb4f8a2e8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33818: PyExceptionClass_Name() will now return "const char *". (GH-7581)</title>
<updated>2018-06-15T08:09:43+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-06-15T08:09:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ceeef10cdbc08561f9954e13bbed1cb2299a8c72'/>
<id>ceeef10cdbc08561f9954e13bbed1cb2299a8c72</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up after bpo-33738. (GH-7627)</title>
<updated>2018-06-11T12:01:47+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-06-11T12:01:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5cbefa99198729a1d4e93d93f890c066039ee1d2'/>
<id>5cbefa99198729a1d4e93d93f890c066039ee1d2</id>
<content type='text'>
* Add declarations even if they are overridden by macros.
* Make the declaration and the definition of PyExceptionClass_Name
  consistent.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add declarations even if they are overridden by macros.
* Make the declaration and the definition of PyExceptionClass_Name
  consistent.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33738: Address review comments in GH #7477 (GH-7585)</title>
<updated>2018-06-10T22:48:28+00:00</updated>
<author>
<name>Christian Tismer</name>
<email>tismer@stackless.com</email>
</author>
<published>2018-06-10T22:48:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8398713cea0eb17b013f25f86bef47c7e5e63139'/>
<id>8398713cea0eb17b013f25f86bef47c7e5e63139</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33738: Fix macros which contradict PEP 384 (GH-7477)</title>
<updated>2018-06-09T18:32:25+00:00</updated>
<author>
<name>Christian Tismer</name>
<email>tismer@stackless.com</email>
</author>
<published>2018-06-09T18:32:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ea62ce7f4fefc66bc0adba16bcd7666d5bbd5b44'/>
<id>ea62ce7f4fefc66bc0adba16bcd7666d5bbd5b44</id>
<content type='text'>
During development of the limited API support for PySide,
we saw an error in a macro that accessed a type field.

This patch fixes the 7 errors in the Python headers.
Macros which were not written as capitals were implemented
as function.

To do the necessary analysis again, a script was included that
parses all headers and looks for "-&gt;tp_" in serctions which can
be reached with active limited API.

It is easily possible to call this script as a test.

Error listing:

../../Include/objimpl.h:243
#define PyObject_IS_GC(o) (PyType_IS_GC(Py_TYPE(o)) &amp;&amp; \
    (Py_TYPE(o)-&gt;tp_is_gc == NULL || Py_TYPE(o)-&gt;tp_is_gc(o)))
Action: commented only

../../Include/objimpl.h:362
#define PyType_SUPPORTS_WEAKREFS(t) ((t)-&gt;tp_weaklistoffset &gt; 0)
Action: commented only

../../Include/objimpl.h:364
#define PyObject_GET_WEAKREFS_LISTPTR(o) \
    ((PyObject **) (((char *) (o)) + Py_TYPE(o)-&gt;tp_weaklistoffset))
Action: commented only

../../Include/pyerrors.h:143
#define PyExceptionClass_Name(x) \
     ((char *)(((PyTypeObject*)(x))-&gt;tp_name))
Action: implemented function

../../Include/abstract.h:593
#define PyIter_Check(obj) \
    ((obj)-&gt;ob_type-&gt;tp_iternext != NULL &amp;&amp; \
     (obj)-&gt;ob_type-&gt;tp_iternext != &amp;_PyObject_NextNotImplemented)
Action: implemented function

../../Include/abstract.h:713
#define PyIndex_Check(obj)                              \
    ((obj)-&gt;ob_type-&gt;tp_as_number != NULL &amp;&amp;            \
     (obj)-&gt;ob_type-&gt;tp_as_number-&gt;nb_index != NULL)
Action: implemented function

../../Include/abstract.h:924
#define PySequence_ITEM(o, i)\
    ( Py_TYPE(o)-&gt;tp_as_sequence-&gt;sq_item(o, i) )
Action: commented only
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During development of the limited API support for PySide,
we saw an error in a macro that accessed a type field.

This patch fixes the 7 errors in the Python headers.
Macros which were not written as capitals were implemented
as function.

To do the necessary analysis again, a script was included that
parses all headers and looks for "-&gt;tp_" in serctions which can
be reached with active limited API.

It is easily possible to call this script as a test.

Error listing:

../../Include/objimpl.h:243
#define PyObject_IS_GC(o) (PyType_IS_GC(Py_TYPE(o)) &amp;&amp; \
    (Py_TYPE(o)-&gt;tp_is_gc == NULL || Py_TYPE(o)-&gt;tp_is_gc(o)))
Action: commented only

../../Include/objimpl.h:362
#define PyType_SUPPORTS_WEAKREFS(t) ((t)-&gt;tp_weaklistoffset &gt; 0)
Action: commented only

../../Include/objimpl.h:364
#define PyObject_GET_WEAKREFS_LISTPTR(o) \
    ((PyObject **) (((char *) (o)) + Py_TYPE(o)-&gt;tp_weaklistoffset))
Action: commented only

../../Include/pyerrors.h:143
#define PyExceptionClass_Name(x) \
     ((char *)(((PyTypeObject*)(x))-&gt;tp_name))
Action: implemented function

../../Include/abstract.h:593
#define PyIter_Check(obj) \
    ((obj)-&gt;ob_type-&gt;tp_iternext != NULL &amp;&amp; \
     (obj)-&gt;ob_type-&gt;tp_iternext != &amp;_PyObject_NextNotImplemented)
Action: implemented function

../../Include/abstract.h:713
#define PyIndex_Check(obj)                              \
    ((obj)-&gt;ob_type-&gt;tp_as_number != NULL &amp;&amp;            \
     (obj)-&gt;ob_type-&gt;tp_as_number-&gt;nb_index != NULL)
Action: implemented function

../../Include/abstract.h:924
#define PySequence_ITEM(o, i)\
    ( Py_TYPE(o)-&gt;tp_as_sequence-&gt;sq_item(o, i) )
Action: commented only
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327)</title>
<updated>2017-10-26T13:09:06+00:00</updated>
<author>
<name>xdegaye</name>
<email>xdegaye@gmail.com</email>
</author>
<published>2017-10-26T13:09:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=56d1f5ca32892c7643eb8cee49c40c1644f1abfe'/>
<id>56d1f5ca32892c7643eb8cee49c40c1644f1abfe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move exc state to generator. Fixes bpo-25612 (#1773)</title>
<updated>2017-10-22T21:41:51+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2017-10-22T21:41:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ae3087c6382011c47db82fea4d05f8bbf514265d'/>
<id>ae3087c6382011c47db82fea4d05f8bbf514265d</id>
<content type='text'>
Move exception state information from frame objects to coroutine (generator/thread) object where it belongs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move exception state information from frame objects to coroutine (generator/thread) object where it belongs.</pre>
</div>
</content>
</entry>
<entry>
<title>Delete sigcheck.c since it appears unused (#1723)</title>
<updated>2017-05-25T11:00:18+00:00</updated>
<author>
<name>Segev Finer</name>
<email>segev208@gmail.com</email>
</author>
<published>2017-05-25T11:00:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7ff1e88a57a37a4cca3af9b0a3528b703d975ea2'/>
<id>7ff1e88a57a37a4cca3af9b0a3528b703d975ea2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29058: All stable API extensions added after Python 3.2 are now</title>
<updated>2016-12-27T13:04:59+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-27T13:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a171a03bd23c0fb9b424cce879d4c0b53fc331f6'/>
<id>a171a03bd23c0fb9b424cce879d4c0b53fc331f6</id>
<content type='text'>
available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of
the minimum Python version supporting this API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of
the minimum Python version supporting this API.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29058: All stable API extensions added after Python 3.2 are now</title>
<updated>2016-12-27T12:57:39+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-27T12:57:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=34d0ac8027e23609e24588735b37b8d5a55f7223'/>
<id>34d0ac8027e23609e24588735b37b8d5a55f7223</id>
<content type='text'>
available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of
the minimum Python version supporting this API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of
the minimum Python version supporting this API.
</pre>
</div>
</content>
</entry>
</feed>
