<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects, branch v3.9.0a1</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-38631: Avoid Py_FatalError() in float.__getformat__() (GH-17232)</title>
<updated>2019-11-18T16:39:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-18T16:39:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=04394df74b3d0783893da7dafa7803a003516402'/>
<id>04394df74b3d0783893da7dafa7803a003516402</id>
<content type='text'>
Replace Py_FatalError() with a regular RuntimeError exception in
float.__getformat__().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace Py_FatalError() with a regular RuntimeError exception in
float.__getformat__().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38650: Constify PyStructSequence_UnnamedField. (GH-17005)</title>
<updated>2019-11-16T16:55:29+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-11-16T16:55:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bd44a7ead9f7336d7bb45f186b2b6ca0300154f7'/>
<id>bd44a7ead9f7336d7bb45f186b2b6ca0300154f7</id>
<content type='text'>
Make it a constant and referring to a constant string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make it a constant and referring to a constant string.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38644: Add _PyEval_EvalCode() (GH-17183)</title>
<updated>2019-11-16T00:03:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-16T00:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b5e170f127b57d5b0a4fb58f316acd6191509dce'/>
<id>b5e170f127b57d5b0a4fb58f316acd6191509dce</id>
<content type='text'>
_PyFunction_Vectorcall() now pass tstate to function calls.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_PyFunction_Vectorcall() now pass tstate to function calls.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38644: Add _PyObject_Call() (GH-17089)</title>
<updated>2019-11-14T12:36:21+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-14T12:36:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4d231bcc77ac8ce7d11bda0804130dcdd678f710'/>
<id>4d231bcc77ac8ce7d11bda0804130dcdd678f710</id>
<content type='text'>
* Add pycore_call.h internal header file.
* Add _PyObject_Call(): PyObject_Call() with tstate
* Add _PyObject_CallNoArgTstate(): _PyObject_CallNoArg() with tstate
* Add _PyObject_FastCallDictTstate(): _PyObject_FastCallDict()
  with tstate
* _PyObject_Call_Prepend() now takes tstate
* Replace _PyObject_FastCall() calls
  with _PyObject_VectorcallTstate() calls</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add pycore_call.h internal header file.
* Add _PyObject_Call(): PyObject_Call() with tstate
* Add _PyObject_CallNoArgTstate(): _PyObject_CallNoArg() with tstate
* Add _PyObject_FastCallDictTstate(): _PyObject_FastCallDict()
  with tstate
* _PyObject_Call_Prepend() now takes tstate
* Replace _PyObject_FastCall() calls
  with _PyObject_VectorcallTstate() calls</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38644: Add _PyEval_EvalFrame() with tstate (GH-17131)</title>
<updated>2019-11-14T11:20:46+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-14T11:20:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b9e681261cd5ce6db0a79461c58d7cc52cfa4902'/>
<id>b9e681261cd5ce6db0a79461c58d7cc52cfa4902</id>
<content type='text'>
Add _PyEval_EvalFrame() static inline function to get eval_frame from
tstate-&gt;interp.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add _PyEval_EvalFrame() static inline function to get eval_frame from
tstate-&gt;interp.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38644: Add _PyObject_VectorcallTstate() (GH-17052)</title>
<updated>2019-11-08T09:05:17+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-08T09:05:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7e433733175e76627d46ed9bdab543860cd1452d'/>
<id>7e433733175e76627d46ed9bdab543860cd1452d</id>
<content type='text'>
* Add _PyObject_VectorcallTstate() function: similar to
  _PyObject_Vectorcall(), but with tstate parameter
* Add tstate parameter to _PyObject_MakeTpCall()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add _PyObject_VectorcallTstate() function: similar to
  _PyObject_Vectorcall(), but with tstate parameter
* Add tstate parameter to _PyObject_MakeTpCall()</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38613: Optimize set operations of dict keys. (GH-16961)</title>
<updated>2019-11-07T15:59:04+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2019-11-07T15:59:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6cbc84fb99acb33dd659d7adb29a20adbe62b74a'/>
<id>6cbc84fb99acb33dd659d7adb29a20adbe62b74a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38733: PyErr_Occurred() caller must hold the GIL (GH-17080)</title>
<updated>2019-11-07T11:42:07+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-07T11:42:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d12d0e7c0fe2b49c40ac4d66365147c619d6c475'/>
<id>d12d0e7c0fe2b49c40ac4d66365147c619d6c475</id>
<content type='text'>
bpo-3605, bpo-38733: Optimize _PyErr_Occurred(): remove "tstate ==
NULL" test.

Py_FatalError() no longer calls PyErr_Occurred() if called without
holding the GIL. So PyErr_Occurred() no longer has to support
tstate==NULL case.

_Py_CheckFunctionResult(): use directly _PyErr_Occurred() to avoid
explicit "!= NULL" test.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-3605, bpo-38733: Optimize _PyErr_Occurred(): remove "tstate ==
NULL" test.

Py_FatalError() no longer calls PyErr_Occurred() if called without
holding the GIL. So PyErr_Occurred() no longer has to support
tstate==NULL case.

_Py_CheckFunctionResult(): use directly _PyErr_Occurred() to avoid
explicit "!= NULL" test.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37645: add new function _PyObject_FunctionStr() (GH-14890)</title>
<updated>2019-11-05T15:48:04+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>jeroen.k.demeyer@gmail.com</email>
</author>
<published>2019-11-05T15:48:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bf17d41826a8bb4bc1e34ba6345da98aac779e41'/>
<id>bf17d41826a8bb4bc1e34ba6345da98aac779e41</id>
<content type='text'>
Additional note: the `method_check_args` function in `Objects/descrobject.c` is written in such a way that it applies to all kinds of descriptors. In particular, a future re-implementation of `wrapper_descriptor` could use that code.

CC @vstinner @encukou 


https://bugs.python.org/issue37645



Automerge-Triggered-By: @encukou</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Additional note: the `method_check_args` function in `Objects/descrobject.c` is written in such a way that it applies to all kinds of descriptors. In particular, a future re-implementation of `wrapper_descriptor` could use that code.

CC @vstinner @encukou 


https://bugs.python.org/issue37645



Automerge-Triggered-By: @encukou</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38644: Pass tstate to _Py_CheckFunctionResult() (GH-17050)</title>
<updated>2019-11-05T00:22:12+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-05T00:22:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=17269090940aa20f6079a6b9f27ae319f8cdae14'/>
<id>17269090940aa20f6079a6b9f27ae319f8cdae14</id>
<content type='text'>
* Add tstate parameter to _Py_CheckFunctionResult()
* Add _PyErr_FormatFromCauseTstate()
* Replace PyErr_XXX(...) with _PyErr_XXX(state, ...)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add tstate parameter to _Py_CheckFunctionResult()
* Add _PyErr_FormatFromCauseTstate()
* Replace PyErr_XXX(...) with _PyErr_XXX(state, ...)</pre>
</div>
</content>
</entry>
</feed>
