<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/errors.c, branch backport-5a8d121-3.5</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>Issue #25677: Correct syntax error caret for indented blocks.</title>
<updated>2016-12-11T00:18:36+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-12-11T00:18:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ca3263c50c3b3a3719d2ec3ee7b30b8c669dcb19'/>
<id>ca3263c50c3b3a3719d2ec3ee7b30b8c669dcb19</id>
<content type='text'>
Based on patch by Michael Layzell.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on patch by Michael Layzell.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28512: Fixed setting the offset attribute of SyntaxError by</title>
<updated>2016-12-11T12:39:01+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-11T12:39:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8b58339eb2939da4df822f7ea457b44e120fad45'/>
<id>8b58339eb2939da4df822f7ea457b44e120fad45</id>
<content type='text'>
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.</title>
<updated>2016-11-16T13:40:39+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-11-16T13:40:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f5894dd646f5e39918377b37b8c8694cebdca103'/>
<id>f5894dd646f5e39918377b37b8c8694cebdca103</id>
<content type='text'>
The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().</title>
<updated>2016-10-21T13:19:59+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-21T13:19:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9e373be1bc56f69c5af4124db014447eb394970c'/>
<id>9e373be1bc56f69c5af4124db014447eb394970c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23960: Cleanup args and kwargs on error in PyErr_SetImportError</title>
<updated>2016-05-01T06:06:36+00:00</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2016-05-01T06:06:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ec766d3c159e0526db641505dbdf0a7f4271e5e4'/>
<id>ec766d3c159e0526db641505dbdf0a7f4271e5e4</id>
<content type='text'>
Patch by Ofer Schwarz.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Ofer Schwarz.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF</title>
<updated>2016-04-10T15:05:40+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-04-10T15:05:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=57a01d3a0ee20ee9eea69b658c6bac0f39541625'/>
<id>57a01d3a0ee20ee9eea69b658c6bac0f39541625</id>
<content type='text'>
in places where Py_DECREF was used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in places where Py_DECREF was used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22570: Renamed Py_SETREF to Py_XSETREF.</title>
<updated>2016-04-06T06:45:48+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-04-06T06:45:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=48842714b948fa239392ddd7e207151d5fcb8bc7'/>
<id>48842714b948fa239392ddd7e207151d5fcb8bc7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22836: Keep exception reports sensible despite errors</title>
<updated>2016-02-28T03:16:11+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-02-28T03:16:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3263f6874a96c7b2862bd91460a28e66ac039dbe'/>
<id>3263f6874a96c7b2862bd91460a28e66ac039dbe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add _PyThreadState_UncheckedGet()</title>
<updated>2016-01-20T10:12:38+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-01-20T10:12:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bfd316e750bc3040c08d1b5872e2de188e8c1e5f'/>
<id>bfd316e750bc3040c08d1b5872e2de188e8c1e5f</id>
<content type='text'>
Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which
gets the current thread state, but don't call Py_FatalError() if it is NULL.

Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to
no more expose complex and private atomic types. Atomic types depends on the
compiler or can even depend on compiler options. The new function
_PyThreadState_UncheckedGet() allows to get the variable value without having
to care of the exact implementation of atomic types.

Changes:

* Replace direct usage of the _PyThreadState_Current variable with a call to
  _PyThreadState_UncheckedGet().
* In pystate.c, replace direct usage of the _PyThreadState_Current variable
  with the PyThreadState_GET() macro for readability.
* Document also PyThreadState_Get() in pystate.h
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which
gets the current thread state, but don't call Py_FatalError() if it is NULL.

Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to
no more expose complex and private atomic types. Atomic types depends on the
compiler or can even depend on compiler options. The new function
_PyThreadState_UncheckedGet() allows to get the variable value without having
to care of the exact implementation of atomic types.

Changes:

* Replace direct usage of the _PyThreadState_Current variable with a call to
  _PyThreadState_UncheckedGet().
* In pystate.c, replace direct usage of the _PyThreadState_Current variable
  with the PyThreadState_GET() macro for readability.
* Document also PyThreadState_Get() in pystate.h
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #20440: More use of Py_SETREF.</title>
<updated>2015-12-27T13:41:34+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-12-27T13:41:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=191321d11bc7e064e1a07830a43fa600de310e1b'/>
<id>191321d11bc7e064e1a07830a43fa600de310e1b</id>
<content type='text'>
This patch is manually crafted and contains changes that couldn't be handled
automatically.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is manually crafted and contains changes that couldn't be handled
automatically.
</pre>
</div>
</content>
</entry>
</feed>
