<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules, branch type-comments</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-40286: Remove C implementation of Random.randbytes() (GH-19797)</title>
<updated>2020-04-29T16:49:00+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-29T16:49:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2d8757758d0d75882fef0fe0e3c74c4756b3e81e'/>
<id>2d8757758d0d75882fef0fe0e3c74c4756b3e81e</id>
<content type='text'>
Remove _random.Random.randbytes(): the C implementation of
randbytes(). Implement the method in Python to ease subclassing:
randbytes() now directly reuses getrandbits().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove _random.Random.randbytes(): the C implementation of
randbytes(). Implement the method in Python to ease subclassing:
randbytes() now directly reuses getrandbits().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-9216: Expose OpenSSL FIPS_mode() as _hashlib.get_fips_mode() (GH-19703)</title>
<updated>2020-04-29T16:04:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-29T16:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e3dfb9b967c560f4d094092dcae4a16fc9634681'/>
<id>e3dfb9b967c560f4d094092dcae4a16fc9634681</id>
<content type='text'>
test.pythoninfo logs OpenSSL FIPS_mode() and Linux
/proc/sys/crypto/fips_enabled in a new "fips" section.

Co-Authored-By: Petr Viktorin &lt;encukou@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test.pythoninfo logs OpenSSL FIPS_mode() and Linux
/proc/sys/crypto/fips_enabled in a new "fips" section.

Co-Authored-By: Petr Viktorin &lt;encukou@gmail.com&gt;</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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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-38880: List interpreters associated with a channel end (GH-17323)</title>
<updated>2020-04-29T00:18:42+00:00</updated>
<author>
<name>Lewis Gaul</name>
<email>Lewis@scphillips.com</email>
</author>
<published>2020-04-29T00:18:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f7bbf58aa9299e9dd00b7a1bdd1113b4dcb6dfdf'/>
<id>f7bbf58aa9299e9dd00b7a1bdd1113b4dcb6dfdf</id>
<content type='text'>
This PR adds the functionality requested by https://github.com/ericsnowcurrently/multi-core-python/issues/52.

Automerge-Triggered-By: @ericsnowcurrently</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR adds the functionality requested by https://github.com/ericsnowcurrently/multi-core-python/issues/52.

Automerge-Triggered-By: @ericsnowcurrently</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://git.baserock.org/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-32604: Add support for a "default" arg in channel_recv(). (GH-19770)</title>
<updated>2020-04-28T23:11:32+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2020-04-28T23:11:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5e8c691594d68925213d36296ce7c4b3e90bcb1d'/>
<id>5e8c691594d68925213d36296ce7c4b3e90bcb1d</id>
<content type='text'>
This allows the caller to avoid creation of an exception when the channel is empty (just like `dict.get()` works).  `ChannelEmptyError` is still raised if no default is provided.

Automerge-Triggered-By: @ericsnowcurrently</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the caller to avoid creation of an exception when the channel is empty (just like `dict.get()` works).  `ChannelEmptyError` is still raised if no default is provided.

Automerge-Triggered-By: @ericsnowcurrently</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://git.baserock.org/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://git.baserock.org/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>
