<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/random.c, branch zooba-patch-1</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>Don't use getentropy() on Linux</title>
<updated>2017-01-09T10:10:41+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-01-09T10:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=01bdbad3e951014c58581635b94b22868537901c'/>
<id>01bdbad3e951014c58581635b94b22868537901c</id>
<content type='text'>
Issue #29188: Support glibc 2.24 on Linux: don't use getentropy() function but
read from /dev/urandom to get random bytes, for example in os.urandom().  On
Linux, getentropy() is implemented which getrandom() is blocking mode, whereas
os.urandom() should not block.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #29188: Support glibc 2.24 on Linux: don't use getentropy() function but
read from /dev/urandom to get random bytes, for example in os.urandom().  On
Linux, getentropy() is implemented which getrandom() is blocking mode, whereas
os.urandom() should not block.
</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://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2f7d13c662cfc159d57d5896478e29759752e3e5'/>
<id>2f7d13c662cfc159d57d5896478e29759752e3e5</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://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6b1c909c08979b5e7fbf7dc4f5b2adcf256ba06d'/>
<id>6b1c909c08979b5e7fbf7dc4f5b2adcf256ba06d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.</title>
<updated>2016-11-12T21:34:25+00:00</updated>
<author>
<name>Ned Deily</name>
<email>nad@python.org</email>
</author>
<published>2016-11-12T21:34:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=09231e657aeaea64ca425a387791c6fa09070221'/>
<id>09231e657aeaea64ca425a387791c6fa09070221</id>
<content type='text'>
Initial patch by Gareth Rees.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initial patch by Gareth Rees.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in comment</title>
<updated>2016-06-10T08:07:11+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-06-10T08:07:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7740c406bc250568451c8b9e43fb21d48ffa311f'/>
<id>7740c406bc250568451c8b9e43fb21d48ffa311f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #25003: os.urandom() doesn't use getentropy() on Solaris because</title>
<updated>2015-10-01T07:57:26+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-10-01T07:57:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a87633e59635a659aa7eb733094129c47187f8a3'/>
<id>a87633e59635a659aa7eb733094129c47187f8a3</id>
<content type='text'>
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23115: os.urandom() now releases the GIL when the getentropy() is used</title>
<updated>2015-03-30T09:22:13+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-30T09:22:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e9932451ae954dbba7fb54deaf3641293021c9a1'/>
<id>e9932451ae954dbba7fb54deaf3641293021c9a1</id>
<content type='text'>
(OpenBSD 5.6+).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(OpenBSD 5.6+).
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23458: On POSIX, the file descriptor kept open by os.urandom() is now</title>
<updated>2015-02-24T13:30:43+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-02-24T13:30:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e0a0bd6eaa40c132e1a270df6ae73c1d87628188'/>
<id>e0a0bd6eaa40c132e1a270df6ae73c1d87628188</id>
<content type='text'>
set to non inheritable
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
set to non inheritable
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23115: Fixed compilation on OpenBSD (Py_MIN is not defined in 2.7).</title>
<updated>2015-02-16T06:05:10+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-02-16T06:05:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e8d750c05bba752215d842968dae24c151df561e'/>
<id>e8d750c05bba752215d842968dae24c151df561e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use getentropy when available (backport of 75ede5bec8db) (closes #23115)</title>
<updated>2014-12-26T17:09:00+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2014-12-26T17:09:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=27c269a1fe5935d330e9f17c19308ff544e886ff'/>
<id>27c269a1fe5935d330e9f17c19308ff544e886ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
