<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/ceval.h, branch fix-namedexpr-comment</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-38644: Cleanup ceval.h (GH-17185)</title>
<updated>2019-11-16T00:04:44+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-16T00:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=51edf8aaa2e17626f9690ed29d25945fc03016b9'/>
<id>51edf8aaa2e17626f9690ed29d25945fc03016b9</id>
<content type='text'>
Move CPython API (Py_LIMITED_API macro not defined) from ceval.h
to cpython/ceval.h</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move CPython API (Py_LIMITED_API macro not defined) from ceval.h
to cpython/ceval.h</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38644: Add Py_EnterRecursiveCall() to the limited API (GH-17046)</title>
<updated>2019-11-04T18:48:34+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-04T18:48:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613'/>
<id>f4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613</id>
<content type='text'>
Provide Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() as
regular functions for the limited API. Previously, there were defined
as macros, but these macros didn't work with the limited API which
cannot access PyThreadState.recursion_depth field.

Remove _Py_CheckRecursionLimit from the stable ABI.

Add Include/cpython/ceval.h header file.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() as
regular functions for the limited API. Previously, there were defined
as macros, but these macros didn't work with the limited API which
cannot access PyThreadState.recursion_depth field.

Remove _Py_CheckRecursionLimit from the stable ABI.

Add Include/cpython/ceval.h header file.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29548: deprecate PyEval_Call* functions (GH-14804)</title>
<updated>2019-07-24T12:02:49+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-07-24T12:02:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=151b91dfd21a100ecb1eba9e293c0a8695bf3bf5'/>
<id>151b91dfd21a100ecb1eba9e293c0a8695bf3bf5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36710: Pass explicitly tstate in sysmodule.c (GH-14060)</title>
<updated>2019-06-13T20:41:23+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-13T20:41:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=838f26402de82640698c38ea9d2be65c6cf780d6'/>
<id>838f26402de82640698c38ea9d2be65c6cf780d6</id>
<content type='text'>
* Replace global var Py_VerboseFlag with interp-&gt;config.verbose.
* Add _PyErr_NoMemory(tstate) function.
* Add tstate parameter to _PyEval_SetCoroutineOriginTrackingDepth()
  and move the function to the internal API.
* Replace _PySys_InitMain(runtime, interp)
  with _PySys_InitMain(runtime, tstate).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace global var Py_VerboseFlag with interp-&gt;config.verbose.
* Add _PyErr_NoMemory(tstate) function.
* Add tstate parameter to _PyEval_SetCoroutineOriginTrackingDepth()
  and move the function to the internal API.
* Replace _PySys_InitMain(runtime, interp)
  with _PySys_InitMain(runtime, tstate).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33407: Implement Py_DEPRECATED() on MSVC (GH-8980)</title>
<updated>2019-05-28T15:16:33+00:00</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2019-05-28T15:16:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3c8724fc60163f4f3c3b0d531c84cc7b36783f82'/>
<id>3c8724fc60163f4f3c3b0d531c84cc7b36783f82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36933: Remove sys.set_coroutine_wrapper (marked for removal in 3.8) (GH-13577)</title>
<updated>2019-05-28T07:10:59+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2019-05-28T07:10:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3880f263d2994fb1eba25835dddccb0cf696fdf0'/>
<id>3880f263d2994fb1eba25835dddccb0cf696fdf0</id>
<content type='text'>
It has been documented as deprecated and to be removed in 3.8; 

From a comment on another thread – which I can't find ; leave get_coro_wrapper() for now, but always return `None`.


https://bugs.python.org/issue36933</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It has been documented as deprecated and to be removed in 3.8; 

From a comment on another thread – which I can't find ; leave get_coro_wrapper() for now, but always return `None`.


https://bugs.python.org/issue36933</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36728: Remove PyEval_ReInitThreads() from C API (GH-13241)</title>
<updated>2019-05-13T10:35:37+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-13T10:35:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d5d9e81ce9a7efc5bc14a5c21398d1ef6f626884'/>
<id>d5d9e81ce9a7efc5bc14a5c21398d1ef6f626884</id>
<content type='text'>
Remove the PyEval_ReInitThreads() function from the Python C API.
It should not be called explicitly: use PyOS_AfterFork_Child()
instead.

Rename PyEval_ReInitThreads() to _PyEval_ReInitThreads() and add a
'runtime' parameter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the PyEval_ReInitThreads() function from the Python C API.
It should not be called explicitly: use PyOS_AfterFork_Child()
instead.

Rename PyEval_ReInitThreads() to _PyEval_ReInitThreads() and add a
'runtime' parameter.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36710: Add 'ceval' local variable to ceval.c (GH-12934)</title>
<updated>2019-05-10T21:39:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-10T21:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=09532feeece39d5ba68a0d47115ce1967bfbd58e'/>
<id>09532feeece39d5ba68a0d47115ce1967bfbd58e</id>
<content type='text'>
Add "struct _ceval_runtime_state *ceval = &amp;_PyRuntime.ceval;" local
variables to function to better highlight the dependency on the
global variable _PyRuntime and to point directly to _PyRuntime.ceval
field rather than on the larger _PyRuntime.

Changes:

* Add _PyRuntimeState_GetThreadState(runtime) macro.
* Add _PyEval_AddPendingCall(ceval, ...) and
  _PyThreadState_Swap(gilstate, ...) functions.
* _PyThreadState_GET() macro now calls
  _PyRuntimeState_GetThreadState() using &amp;_PyRuntime.
* Add 'ceval' parameter to COMPUTE_EVAL_BREAKER(),
  SIGNAL_PENDING_SIGNALS(), _PyEval_SignalAsyncExc(),
  _PyEval_SignalReceived() and _PyEval_FiniThreads() macros and
  functions.
* Add 'tstate' parameter to call_function(), do_call_core() and
  do_raise().
* Add 'runtime' parameter to _Py_CURRENTLY_FINALIZING(),
  _Py_FinishPendingCalls() and _PyThreadState_DeleteExcept()
  macros and functions.
* Declare 'runtime', 'tstate', 'ceval' and 'eval_breaker' variables
  as constant.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add "struct _ceval_runtime_state *ceval = &amp;_PyRuntime.ceval;" local
variables to function to better highlight the dependency on the
global variable _PyRuntime and to point directly to _PyRuntime.ceval
field rather than on the larger _PyRuntime.

Changes:

* Add _PyRuntimeState_GetThreadState(runtime) macro.
* Add _PyEval_AddPendingCall(ceval, ...) and
  _PyThreadState_Swap(gilstate, ...) functions.
* _PyThreadState_GET() macro now calls
  _PyRuntimeState_GetThreadState() using &amp;_PyRuntime.
* Add 'ceval' parameter to COMPUTE_EVAL_BREAKER(),
  SIGNAL_PENDING_SIGNALS(), _PyEval_SignalAsyncExc(),
  _PyEval_SignalReceived() and _PyEval_FiniThreads() macros and
  functions.
* Add 'tstate' parameter to call_function(), do_call_core() and
  do_raise().
* Add 'runtime' parameter to _Py_CURRENTLY_FINALIZING(),
  _Py_FinishPendingCalls() and _PyThreadState_DeleteExcept()
  macros and functions.
* Declare 'runtime', 'tstate', 'ceval' and 'eval_breaker' variables
  as constant.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-36356: Destroy the GIL at exit (GH-12453)" (GH613006)</title>
<updated>2019-04-29T11:04:07+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-29T11:04:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=99fcc616d400cd31af0733c3f8cc93bcc1d32a44'/>
<id>99fcc616d400cd31af0733c3f8cc93bcc1d32a44</id>
<content type='text'>
This reverts commit b36e5d627d4232a01850707eb78a5067f3fd77f4.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit b36e5d627d4232a01850707eb78a5067f3fd77f4.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36356: Destroy the GIL at exit (GH-12453)</title>
<updated>2019-04-29T09:15:56+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-29T09:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b36e5d627d4232a01850707eb78a5067f3fd77f4'/>
<id>b36e5d627d4232a01850707eb78a5067f3fd77f4</id>
<content type='text'>
* Add _PyEval_FiniThreads2(). _PyEval_FiniThreads() now only clears
  the pending lock, whereas _PyEval_FiniThreads2() destroys the GIL.
* pymain_free() now calls _PyEval_FiniThreads2().
* Py_FinalizeEx() now calls _PyEval_FiniThreads().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add _PyEval_FiniThreads2(). _PyEval_FiniThreads() now only clears
  the pending lock, whereas _PyEval_FiniThreads2() destroys the GIL.
* pymain_free() now calls _PyEval_FiniThreads2().
* Py_FinalizeEx() now calls _PyEval_FiniThreads().</pre>
</div>
</content>
</entry>
</feed>
