<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects, branch refactor-lambda-parameters</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>Revert "bpo-29587: Enable implicit exception chaining with gen.throw() (GH-19811)" (#19821)</title>
<updated>2020-04-30T20:44:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-30T20:44:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3c7f9db85095952821f9d106dd874f75662ce7ec'/>
<id>3c7f9db85095952821f9d106dd874f75662ce7ec</id>
<content type='text'>
This reverts commit 2514a632fb7d37be24c2059d0e286d35600f9795.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 2514a632fb7d37be24c2059d0e286d35600f9795.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29587: Enable implicit exception chaining with gen.throw() (GH-19811)</title>
<updated>2020-04-30T19:18:05+00:00</updated>
<author>
<name>Chris Jerdonek</name>
<email>chris.jerdonek@gmail.com</email>
</author>
<published>2020-04-30T19:18:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2514a632fb7d37be24c2059d0e286d35600f9795'/>
<id>2514a632fb7d37be24c2059d0e286d35600f9795</id>
<content type='text'>
Before this commit, if an exception was active inside a generator
when calling gen.throw(), then that exception was lost (i.e. there
was no implicit exception chaining).  This commit fixes that.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit, if an exception was active inside a generator
when calling gen.throw(), then that exception was lost (i.e. there
was no implicit exception chaining).  This commit fixes that.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40228: More robust frame.setlineno. (GH-19437)</title>
<updated>2020-04-29T15:49:45+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2020-04-29T15:49:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=57697245e1deafdedf68e5f21ad8890be591efc0'/>
<id>57697245e1deafdedf68e5f21ad8890be591efc0</id>
<content type='text'>
More robust frame.setlineno. Makes no assumptions about source-&gt;bytecode translation.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More robust frame.setlineno. Makes no assumptions about source-&gt;bytecode translation.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40421: Add PyFrame_GetBack() function (GH-19765)</title>
<updated>2020-04-29T01:28:46+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-29T01:28:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=703647732359200c54f1d2e695cc3a06b9a96c9a'/>
<id>703647732359200c54f1d2e695cc3a06b9a96c9a</id>
<content type='text'>
New PyFrame_GetBack() function: get the frame next outer frame.

Replace frame-&gt;f_back with PyFrame_GetBack(frame) in most code but
frameobject.c, ceval.c and genobject.c.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New PyFrame_GetBack() function: get the frame next outer frame.

Replace frame-&gt;f_back with PyFrame_GetBack(frame) in most code but
frameobject.c, ceval.c and genobject.c.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40429: PyThreadState_GetFrame() returns a strong ref (GH-19781)</title>
<updated>2020-04-29T01:01:43+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-29T01:01:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4386b9045e5fe1151e65c2816264b5710000eb9f'/>
<id>4386b9045e5fe1151e65c2816264b5710000eb9f</id>
<content type='text'>
The PyThreadState_GetFrame() function now returns a strong reference
to the frame.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PyThreadState_GetFrame() function now returns a strong reference
to the frame.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40428: Remove PyTuple_ClearFreeList() function (GH-19769)</title>
<updated>2020-04-29T00:29:20+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-29T00:29:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ae00a5a88534fd45939f86c12e038da9fa6f9ed6'/>
<id>ae00a5a88534fd45939f86c12e038da9fa6f9ed6</id>
<content type='text'>
Remove the following function from the C API:

* PyAsyncGen_ClearFreeLists()
* PyContext_ClearFreeList()
* PyDict_ClearFreeList()
* PyFloat_ClearFreeList()
* PyFrame_ClearFreeList()
* PyList_ClearFreeList()
* PySet_ClearFreeList()
* PyTuple_ClearFreeList()

Make these functions private, move them to the internal C API and
change their return type to void.

Call explicitly PyGC_Collect() to free all free lists.

Note: PySet_ClearFreeList() did nothing.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the following function from the C API:

* PyAsyncGen_ClearFreeLists()
* PyContext_ClearFreeList()
* PyDict_ClearFreeList()
* PyFloat_ClearFreeList()
* PyFrame_ClearFreeList()
* PyList_ClearFreeList()
* PySet_ClearFreeList()
* PyTuple_ClearFreeList()

Make these functions private, move them to the internal C API and
change their return type to void.

Call explicitly PyGC_Collect() to free all free lists.

Note: PySet_ClearFreeList() did nothing.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40429: Refactor super_init() (GH-19776)</title>
<updated>2020-04-29T00:28:23+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-29T00:28:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=cc0dc7e484c9626857e9a8b4c40eee37473702ed'/>
<id>cc0dc7e484c9626857e9a8b4c40eee37473702ed</id>
<content type='text'>
Add super_init_without_args() sub-function. Hold a strong reference
to the frame code object while calling super_init_without_args().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add super_init_without_args() sub-function. Hold a strong reference
to the frame code object while calling super_init_without_args().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40429: PyFrame_GetCode() now returns a strong reference (GH-19773)</title>
<updated>2020-04-28T23:28:13+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-28T23:28:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8852ad4208e34825f74e24945edb5bcf055d94fe'/>
<id>8852ad4208e34825f74e24945edb5bcf055d94fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40429: PyFrame_GetCode() result cannot be NULL (GH-19772)</title>
<updated>2020-04-28T22:56:58+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-28T22:56:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6d86a2331e6b64a2ae80c1a21f81baa5a71ac594'/>
<id>6d86a2331e6b64a2ae80c1a21f81baa5a71ac594</id>
<content type='text'>
Add frame_nslots() to factorize duplicate code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add frame_nslots() to factorize duplicate code.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40421: Add PyFrame_GetCode() function (GH-19757)</title>
<updated>2020-04-28T17:01:31+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-28T17:01:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a42ca74fa30227e2f89a619332557cf093a937d5'/>
<id>a42ca74fa30227e2f89a619332557cf093a937d5</id>
<content type='text'>
PyFrame_GetCode(frame): return a borrowed reference to the frame
code.

Replace frame-&gt;f_code with PyFrame_GetCode(frame) in most code,
except in frameobject.c, genobject.c and ceval.c.

Also add PyFrame_GetLineNumber() to the limited C API.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyFrame_GetCode(frame): return a borrowed reference to the frame
code.

Replace frame-&gt;f_code with PyFrame_GetCode(frame) in most code,
except in frameobject.c, genobject.c and ceval.c.

Also add PyFrame_GetLineNumber() to the limited C API.</pre>
</div>
</content>
</entry>
</feed>
