<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/random.c, branch fix-misc-acks</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-22257: Small changes for PEP 432. (#1728)</title>
<updated>2017-05-23T04:36:03+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2017-05-23T04:36:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6b4be195cd8868b76eb6fbe166acc39beee8ce36'/>
<id>6b4be195cd8868b76eb6fbe166acc39beee8ce36</id>
<content type='text'>
PEP 432 specifies a number of large changes to interpreter startup code, including exposing a cleaner C-API. The major changes depend on a number of smaller changes. This patch includes all those smaller changes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PEP 432 specifies a number of large changes to interpreter startup code, including exposing a cleaner C-API. The major changes depend on a number of smaller changes. This patch includes all those smaller changes.</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29157: enhance py_getrandom() documentation</title>
<updated>2017-01-06T10:39:15+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-01-06T10:39:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b27df6faa5e5b92674cdf629615595cecd33d875'/>
<id>b27df6faa5e5b92674cdf629615595cecd33d875</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>py_getentropy() now supports ENOSYS, EPERM &amp; EINTR</title>
<updated>2017-01-06T10:33:18+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-01-06T10:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=de2f1ea12457780bfa4dac0f2d1ed2c8f02d591e'/>
<id>de2f1ea12457780bfa4dac0f2d1ed2c8f02d591e</id>
<content type='text'>
Issue #29157.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #29157.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29157: getrandom() is now preferred over getentropy()</title>
<updated>2017-01-06T10:26:01+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-01-06T10:26:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2f7964393d6a17e746596918c4a272d0a5009479'/>
<id>2f7964393d6a17e746596918c4a272d0a5009479</id>
<content type='text'>
The glibc now implements getentropy() on Linux using the getrandom() syscall.
But getentropy() doesn't support non-blocking mode.

Since getrandom() is tried first, it's not more needed to explicitly exclude
getentropy() on Solaris. Replace:

    if defined(HAVE_GETENTROPY) &amp;&amp; !defined(sun)

with

    if defined(HAVE_GETENTROPY)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The glibc now implements getentropy() on Linux using the getrandom() syscall.
But getentropy() doesn't support non-blocking mode.

Since getrandom() is tried first, it's not more needed to explicitly exclude
getentropy() on Solaris. Replace:

    if defined(HAVE_GETENTROPY) &amp;&amp; !defined(sun)

with

    if defined(HAVE_GETENTROPY)
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29157: Simplify dev_urandom()</title>
<updated>2017-01-06T10:17:52+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-01-06T10:17:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a49a2078e84b594cc42988bf181be7cc5da66f78'/>
<id>a49a2078e84b594cc42988bf181be7cc5da66f78</id>
<content type='text'>
pyurandom() is now responsible to call getentropy() or getrandom().

Enhance also dev_urandom() and pyurandom() documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pyurandom() is now responsible to call getentropy() or getrandom().

Enhance also dev_urandom() and pyurandom() documentation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29157: dev_urandom() now calls py_getentropy()</title>
<updated>2017-01-06T10:16:20+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-01-06T10:16:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=dcdb60e4b3ad529fb2acd8d36f6ce9c7370b6c6f'/>
<id>dcdb60e4b3ad529fb2acd8d36f6ce9c7370b6c6f</id>
<content type='text'>
Prepare the fallback to support getentropy() failure and falls back on reading
from /dev/urandom.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prepare the fallback to support getentropy() failure and falls back on reading
from /dev/urandom.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge 3.5 (#29057)</title>
<updated>2017-01-02T04:30:26+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-01-02T04:30:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=46322587ecb725c99211c3365a7ba2cbfc574403'/>
<id>46322587ecb725c99211c3365a7ba2cbfc574403</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>only include sys/random.h if it seems like it might have something useful (#29057)</title>
<updated>2017-01-02T04:29:36+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-01-02T04:29:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=493ac1bbe02a57d08e0f8a76b436626f86b03796'/>
<id>493ac1bbe02a57d08e0f8a76b436626f86b03796</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge 3.5 (#28932)</title>
<updated>2016-12-20T07:54:57+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-12-20T07:54:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b0eb986eb236c41ebf098233940e038c7b993b9f'/>
<id>b0eb986eb236c41ebf098233940e038c7b993b9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add a specific configure check for sys/random.h (closes #28932)</title>
<updated>2016-12-20T07:54:25+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-12-20T07:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fb2ae15c6704a072afeef4786749d9bb2ce7d68d'/>
<id>fb2ae15c6704a072afeef4786749d9bb2ce7d68d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
