<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/traceback.c, branch misc-acks-comment</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-38070: _Py_DumpTraceback() writes &lt;no Python frame&gt; (GH-16244)</title>
<updated>2019-09-17T21:36:16+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-09-17T21:36:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8fa3e1740b3f03ea65ddb68411c2238c5f98eec2'/>
<id>8fa3e1740b3f03ea65ddb68411c2238c5f98eec2</id>
<content type='text'>
When a Python thread has no frame, _Py_DumpTraceback() and
_Py_DumpTracebackThreads() now write "&lt;no Python frame&gt;", rather than
writing nothing.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a Python thread has no frame, _Py_DumpTraceback() and
_Py_DumpTracebackThreads() now write "&lt;no Python frame&gt;", rather than
writing nothing.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267)</title>
<updated>2019-07-08T08:19:25+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-07-08T08:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=762f93ff2efd6b7ef0177cad57939c0ab2002eac'/>
<id>762f93ff2efd6b7ef0177cad57939c0ab2002eac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36974: tp_print -&gt; tp_vectorcall_offset and tp_reserved -&gt; tp_as_async (GH-13464)</title>
<updated>2019-05-31T02:13:39+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-31T02:13:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=530f506ac91338b55cf2be71b1cdf50cb077512f'/>
<id>530f506ac91338b55cf2be71b1cdf50cb077512f</id>
<content type='text'>
Automatically replace
tp_print -&gt; tp_vectorcall_offset
tp_compare -&gt; tp_as_async
tp_reserved -&gt; tp_as_async
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automatically replace
tp_print -&gt; tp_vectorcall_offset
tp_compare -&gt; tp_as_async
tp_reserved -&gt; tp_as_async
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36829: PyErr_WriteUnraisable() normalizes exception (GH-13507)</title>
<updated>2019-05-22T23:00:58+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-22T23:00:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=df22c03b93ea4620fdf4a0b3cbbbfa7c645af783'/>
<id>df22c03b93ea4620fdf4a0b3cbbbfa7c645af783</id>
<content type='text'>
PyErr_WriteUnraisable() now creates a traceback object if there is no
current traceback. Moreover, call PyErr_NormalizeException() and
PyException_SetTraceback() to normalize the exception value. Ignore
silently any error.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyErr_WriteUnraisable() now creates a traceback object if there is no
current traceback. Moreover, call PyErr_NormalizeException() and
PyException_SetTraceback() to normalize the exception value. Ignore
silently any error.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35983: skip trashcan for subclasses (GH-11841)</title>
<updated>2019-05-10T17:21:10+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-10T17:21:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=351c67416ba4451eb3928fa0b2e933c2f25df1a3'/>
<id>351c67416ba4451eb3928fa0b2e933c2f25df1a3</id>
<content type='text'>
Add new trashcan macros to deal with a double deallocation that could occur when the `tp_dealloc` of a subclass calls the `tp_dealloc` of a base class and that base class uses the trashcan mechanism.

Patch by Jeroen Demeyer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new trashcan macros to deal with a double deallocation that could occur when the `tp_dealloc` of a subclass calls the `tp_dealloc` of a base class and that base class uses the trashcan mechanism.

Patch by Jeroen Demeyer.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33029: Fix signatures of getter and setter functions. (GH-10746)</title>
<updated>2018-11-27T17:34:35+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-11-27T17:34:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d4f9cf5545d6d8844e0726552ef2e366f5cc3abd'/>
<id>d4f9cf5545d6d8844e0726552ef2e366f5cc3abd</id>
<content type='text'>
Fix also return type for few other functions (clear, releasebuffer).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix also return type for few other functions (clear, releasebuffer).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35081: Rename internal headers (GH-10275)</title>
<updated>2018-11-12T15:53:38+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-12T15:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=621cebe81b1e6c8de10425955bf532d31ee4df42'/>
<id>621cebe81b1e6c8de10425955bf532d31ee4df42</id>
<content type='text'>
Rename Include/internal/ headers:

* pycore_hash.h -&gt; pycore_pyhash.h
* pycore_lifecycle.h -&gt; pycore_pylifecycle.h
* pycore_mem.h -&gt; pycore_pymem.h
* pycore_state.h -&gt; pycore_pystate.h

Add missing headers to Makefile.pre.in and PCbuild:

* pycore_condvar.h.
* pycore_hamt.h
* pycore_pyhash.h</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename Include/internal/ headers:

* pycore_hash.h -&gt; pycore_pyhash.h
* pycore_lifecycle.h -&gt; pycore_pylifecycle.h
* pycore_mem.h -&gt; pycore_pymem.h
* pycore_state.h -&gt; pycore_pystate.h

Add missing headers to Makefile.pre.in and PCbuild:

* pycore_condvar.h.
* pycore_hamt.h
* pycore_pyhash.h</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35081: Add pycore_ prefix to internal header files (GH-10263)</title>
<updated>2018-10-31T23:52:28+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-10-31T23:52:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e'/>
<id>27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e</id>
<content type='text'>
* Rename Include/internal/ header files:

  * pyatomic.h -&gt; pycore_atomic.h
  * ceval.h -&gt; pycore_ceval.h
  * condvar.h -&gt; pycore_condvar.h
  * context.h -&gt; pycore_context.h
  * pygetopt.h -&gt; pycore_getopt.h
  * gil.h -&gt; pycore_gil.h
  * hamt.h -&gt; pycore_hamt.h
  * hash.h -&gt; pycore_hash.h
  * mem.h -&gt; pycore_mem.h
  * pystate.h -&gt; pycore_state.h
  * warnings.h -&gt; pycore_warnings.h

* PCbuild project, Makefile.pre.in, Modules/Setup: add the
  Include/internal/ directory to the search paths of header files.
* Update includes. For example, replace #include "internal/mem.h"
  with #include "pycore_mem.h".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename Include/internal/ header files:

  * pyatomic.h -&gt; pycore_atomic.h
  * ceval.h -&gt; pycore_ceval.h
  * condvar.h -&gt; pycore_condvar.h
  * context.h -&gt; pycore_context.h
  * pygetopt.h -&gt; pycore_getopt.h
  * gil.h -&gt; pycore_gil.h
  * hamt.h -&gt; pycore_hamt.h
  * hash.h -&gt; pycore_hash.h
  * mem.h -&gt; pycore_mem.h
  * pystate.h -&gt; pycore_state.h
  * warnings.h -&gt; pycore_warnings.h

* PCbuild project, Makefile.pre.in, Modules/Setup: add the
  Include/internal/ directory to the search paths of header files.
* Update includes. For example, replace #include "internal/mem.h"
  with #include "pycore_mem.h".</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077)</title>
<updated>2018-09-10T15:43:10+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-10T15:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d545869d084e70d4838310e79b52a25a72a1ca56'/>
<id>d545869d084e70d4838310e79b52a25a72a1ca56</id>
<content type='text'>
The recursive frame pruning code always undercounted the number of elided frames
by one. That is, in the "[Previous line repeated N more times]" message, N would
always be one too few. Near the recursive pruning cutoff, one frame could be
silently dropped. That situation is demonstrated in the OP of the bug report.

The fix is to start the identical frame counter at 1.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The recursive frame pruning code always undercounted the number of elided frames
by one. That is, in the "[Previous line repeated N more times]" message, N would
always be one too few. Near the recursive pruning cutoff, one frame could be
silently dropped. That situation is demonstrated in the OP of the bug report.

The fix is to start the identical frame counter at 1.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030)</title>
<updated>2018-04-29T18:59:33+00:00</updated>
<author>
<name>Siddhesh Poyarekar</name>
<email>siddhesh.poyarekar@gmail.com</email>
</author>
<published>2018-04-29T18:59:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=55edd0c185ad2d895b5d73e47d67049bc156b654'/>
<id>55edd0c185ad2d895b5d73e47d67049bc156b654</id>
<content type='text'>
METH_NOARGS functions need only a single argument but they are cast
into a PyCFunction, which takes two arguments.  This triggers an
invalid function cast warning in gcc8 due to the argument mismatch.
Fix this by adding a dummy unused argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
METH_NOARGS functions need only a single argument but they are cast
into a PyCFunction, which takes two arguments.  This triggers an
invalid function cast warning in gcc8 due to the argument mismatch.
Fix this by adding a dummy unused argument.
</pre>
</div>
</content>
</entry>
</feed>
