<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/errors.c, branch whatsnew-617</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-40268: Remove a few pycore_pystate.h includes (GH-19510)</title>
<updated>2020-04-14T15:52:15+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-14T15:52:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e5014be0497d06d78343623588a80f491a6f7b74'/>
<id>e5014be0497d06d78343623588a80f491a6f7b74</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38644: Use _PySys_Audit(): pass tstate explicitly (GH-19183)</title>
<updated>2020-03-27T14:11:45+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-03-27T14:11:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1c1e68cf3e3a2a19a0edca9a105273e11ddddc6e'/>
<id>1c1e68cf3e3a2a19a0edca9a105273e11ddddc6e</id>
<content type='text'>
Add the dependency to tstate more explicit.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the dependency to tstate more explicit.</pre>
</div>
</content>
</entry>
<entry>
<title> bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809)</title>
<updated>2020-03-06T22:53:17+00:00</updated>
<author>
<name>Andy Lester</name>
<email>andy@petdance.com</email>
</author>
<published>2020-03-06T22:53:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=557287075c264d2458cd3e1b45e9b8ee5341e0a1'/>
<id>557287075c264d2458cd3e1b45e9b8ee5341e0a1</id>
<content type='text'>
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601)</title>
<updated>2020-03-04T13:15:20+00:00</updated>
<author>
<name>Andy Lester</name>
<email>andy@petdance.com</email>
</author>
<published>2020-03-04T13:15:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=dffe4c07095e0c693e094d3c140e85a68bd8128e'/>
<id>dffe4c07095e0c693e094d3c140e85a68bd8128e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-39630: Update pointers to string literals to be const char *. (GH-18510)</title>
<updated>2020-02-14T04:42:56+00:00</updated>
<author>
<name>Andy Lester</name>
<email>andy@petdance.com</email>
</author>
<published>2020-02-14T04:42:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7386a70746cf9aaf2d95db75d9201fb124f085df'/>
<id>7386a70746cf9aaf2d95db75d9201fb124f085df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39245: Switch to public API for Vectorcall (GH-18460)</title>
<updated>2020-02-11T16:46:57+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2020-02-11T16:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ffd9753a944916ced659b2c77aebe66a6c9fbab5'/>
<id>ffd9753a944916ced659b2c77aebe66a6c9fbab5</id>
<content type='text'>
The bulk of this patch was generated automatically with:

    for name in \
        PyObject_Vectorcall \
        Py_TPFLAGS_HAVE_VECTORCALL \
        PyObject_VectorcallMethod \
        PyVectorcall_Function \
        PyObject_CallOneArg \
        PyObject_CallMethodNoArgs \
        PyObject_CallMethodOneArg \
    ;
    do
        echo $name
        git grep -lwz _$name | xargs -0 sed -i "s/\b_$name\b/$name/g"
    done

    old=_PyObject_FastCallDict
    new=PyObject_VectorcallDict
    git grep -lwz $old | xargs -0 sed -i "s/\b$old\b/$new/g"

and then cleaned up:

- Revert changes to in docs &amp; news
- Revert changes to backcompat defines in headers
- Nudge misaligned comments
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bulk of this patch was generated automatically with:

    for name in \
        PyObject_Vectorcall \
        Py_TPFLAGS_HAVE_VECTORCALL \
        PyObject_VectorcallMethod \
        PyVectorcall_Function \
        PyObject_CallOneArg \
        PyObject_CallMethodNoArgs \
        PyObject_CallMethodOneArg \
    ;
    do
        echo $name
        git grep -lwz _$name | xargs -0 sed -i "s/\b_$name\b/$name/g"
    done

    old=_PyObject_FastCallDict
    new=PyObject_VectorcallDict
    git grep -lwz $old | xargs -0 sed -i "s/\b$old\b/$new/g"

and then cleaned up:

- Revert changes to in docs &amp; news
- Revert changes to backcompat defines in headers
- Nudge misaligned comments
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254)</title>
<updated>2020-01-30T23:20:25+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-01-30T23:20:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=46874c26ee1fc752e2e6930efa1d223b2351edb8'/>
<id>46874c26ee1fc752e2e6930efa1d223b2351edb8</id>
<content type='text'>
Moving repetitive `_Py_IDENTIFIER` instances to a global location helps identify them more easily in regards to sub-interpreter support.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Moving repetitive `_Py_IDENTIFIER` instances to a global location helps identify them more easily in regards to sub-interpreter support.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39164: Fix compiler warning in PyErr_GetExcInfo() (GH-18010)</title>
<updated>2020-01-15T10:23:25+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-15T10:23:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3f12ac18a407983a23d43ae785e805e773571477'/>
<id>3f12ac18a407983a23d43ae785e805e773571477</id>
<content type='text'>
The function has no return value.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function has no return value.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39164: Add private _PyErr_GetExcInfo() function (GH-17752)</title>
<updated>2020-01-13T16:30:14+00:00</updated>
<author>
<name>Julien Danjou</name>
<email>julien@danjou.info</email>
</author>
<published>2020-01-13T16:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3430c55417f59078ac397c343894a3ee82a39624'/>
<id>3430c55417f59078ac397c343894a3ee82a39624</id>
<content type='text'>
This adds a new function named _PyErr_GetExcInfo() that is a variation of the
original PyErr_GetExcInfo() taking a PyThreadState as its first argument.
That function allows to retrieve the exceptions information of any Python
thread -- not only the current one.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new function named _PyErr_GetExcInfo() that is a variation of the
original PyErr_GetExcInfo() taking a PyThreadState as its first argument.
That function allows to retrieve the exceptions information of any Python
thread -- not only the current one.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable hooks are invoked (GH-17392)</title>
<updated>2019-11-28T16:46:11+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2019-11-28T16:46:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bea33f5e1db6e4a554919a82894f44568576e979'/>
<id>bea33f5e1db6e4a554919a82894f44568576e979</id>
<content type='text'>
Also fixes some potential segfaults in unraisable hook handling.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fixes some potential segfaults in unraisable hook handling.</pre>
</div>
</content>
</entry>
</feed>
