<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/errors.c, branch v3.7.13</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>bpo-36829: Enhance PyErr_WriteUnraisable() (GH-13487)</title>
<updated>2019-05-22T16:23:28+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-22T16:23:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a58db9628d0c96cc5b863137fed4e432238f8027'/>
<id>a58db9628d0c96cc5b863137fed4e432238f8027</id>
<content type='text'>
PyErr_WriteUnraisable() now displays the exception even if displaying
the traceback failed. Moreover, hold a strong reference to sys.stderr
while using it.

Document that an exception must be set when calling
PyErr_WriteUnraisable(), but don't add an assertion to check it at
runtime.

Cleanup: use longer names for variables and create
write_unraisable_exc_file() subfunction.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyErr_WriteUnraisable() now displays the exception even if displaying
the traceback failed. Moreover, hold a strong reference to sys.stderr
while using it.

Document that an exception must be set when calling
PyErr_WriteUnraisable(), but don't add an assertion to check it at
runtime.

Cleanup: use longer names for variables and create
write_unraisable_exc_file() subfunction.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34503: Fix refleak in PyErr_SetObject() (GH-8934)</title>
<updated>2018-08-26T17:13:47+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-08-26T17:13:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2caf86ff6d72d625f86db78c6e90fdaf09e8f703'/>
<id>2caf86ff6d72d625f86db78c6e90fdaf09e8f703</id>
<content type='text'>
(cherry picked from commit a2eefa67542c25617a58c03a27c17fd48e2a0856)

Co-authored-by: Alexey Izbyshev &lt;izbyshev@ispras.ru&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit a2eefa67542c25617a58c03a27c17fd48e2a0856)

Co-authored-by: Alexey Izbyshev &lt;izbyshev@ispras.ru&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28994: PyErr_NormalizeException() no longer use C stack for recursion. (#2035)</title>
<updated>2017-11-05T09:27:48+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-11-05T09:27:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cf296537f164abeacd83011239881f75f290ed31'/>
<id>cf296537f164abeacd83011239881f75f290ed31</id>
<content type='text'>
MemoryError raised when normalizing a RecursionError raised during exception normalization now not always causes a fatal error.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MemoryError raised when normalizing a RecursionError raised during exception normalization now not always causes a fatal error.</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://git.baserock.org/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://git.baserock.org/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>bpo-31418: Fix an assertion failure in PyErr_WriteUnraisable() in case of an exception with a bad __module__ attribute. (#3539)</title>
<updated>2017-09-13T22:30:05+00:00</updated>
<author>
<name>Oren Milman</name>
<email>orenmn@gmail.com</email>
</author>
<published>2017-09-13T22:30:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f6e61df01536493f1280cd07639c7ff9bffb2cdc'/>
<id>f6e61df01536493f1280cd07639c7ff9bffb2cdc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30860: Consolidate stateful runtime globals. (#3397)</title>
<updated>2017-09-08T05:51:28+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2017-09-08T05:51:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2ebc5ce42a8a9e047e790aefbf9a94811569b2b6'/>
<id>2ebc5ce42a8a9e047e790aefbf9a94811569b2b6</id>
<content type='text'>
* group the (stateful) runtime globals into various topical structs
* consolidate the topical structs under a single top-level _PyRuntimeState struct
* add a check-c-globals.py script that helps identify runtime globals

Other globals are excluded (see globals.txt and check-c-globals.py).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* group the (stateful) runtime globals into various topical structs
* consolidate the topical structs under a single top-level _PyRuntimeState struct
* add a check-c-globals.py script that helps identify runtime globals

Other globals are excluded (see globals.txt and check-c-globals.py).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31091: Remove dead code in PyErr_GivenExceptionMatches(). (#2963)</title>
<updated>2017-07-31T20:27:46+00:00</updated>
<author>
<name>scoder</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2017-07-31T20:27:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e4c06bcca358c6dcb6393a75a1589ff6a2d45cde'/>
<id>e4c06bcca358c6dcb6393a75a1589ff6a2d45cde</id>
<content type='text'>
According to the comment, there was previously a call to PyObject_IsSubclass() involved which could fail, but since it was replaced with a call to PyType_IsSubtype(), it can no longer fail.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to the comment, there was previously a call to PyObject_IsSubclass() involved which could fail, but since it was replaced with a call to PyType_IsSubtype(), it can no longer fail.</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #25677: Merge SyntaxError caret positioning from 3.6</title>
<updated>2016-12-19T06:46:12+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-12-19T06:46:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b46edf35f3dea8c828b45d6ae02d2c716dd1d0ea'/>
<id>b46edf35f3dea8c828b45d6ae02d2c716dd1d0ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #25677: Merge SyntaxError caret positioning from 3.5</title>
<updated>2016-12-19T06:46:01+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-12-19T06:46:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=619555d77bba05c71d9ef0a1c29ec53a17ebe2ca'/>
<id>619555d77bba05c71d9ef0a1c29ec53a17ebe2ca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
