<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/random.c, branch v3.5.0b2</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>(Merge 3.4) Issue #22585: os.urandom() now releases the GIL when the</title>
<updated>2015-03-30T09:19:07+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-30T09:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=81c6df5c0fa046eea1a9fe971fe72ad03b0bf9b3'/>
<id>81c6df5c0fa046eea1a9fe971fe72ad03b0bf9b3</id>
<content type='text'>
getentropy() is used (OpenBSD 5.6+).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
getentropy() is used (OpenBSD 5.6+).
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22585: os.urandom() now releases the GIL when the getentropy() is used</title>
<updated>2015-03-30T09:18:30+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-30T09:18:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9aa1331c6f73b0868f736a40445cc3bcd33c5345'/>
<id>9aa1331c6f73b0868f736a40445cc3bcd33c5345</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 #22181: os.urandom() now releases the GIL when the getrandom()</title>
<updated>2015-03-30T09:16:40+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-30T09:16:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=79b74aeb20a539cb807aa297dc22eabbb525b892'/>
<id>79b74aeb20a539cb807aa297dc22eabbb525b892</id>
<content type='text'>
implementation is used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
implementation is used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23752: _Py_fstat() is now responsible to raise the Python exception</title>
<updated>2015-03-30T08:09:31+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-30T08:09:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e134a7fe36652434c2ccffc4ebab2ec2031d1505'/>
<id>e134a7fe36652434c2ccffc4ebab2ec2031d1505</id>
<content type='text'>
Add _Py_fstat_noraise() function when a Python exception is not welcome.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add _Py_fstat_noraise() function when a Python exception is not welcome.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23707: On UNIX, os.urandom() now calls the Python signal handler when</title>
<updated>2015-03-19T22:36:33+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-19T22:36:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c9382eb7ae26dd72ad2ee9736584c2ad6d109085'/>
<id>c9382eb7ae26dd72ad2ee9736584c2ad6d109085</id>
<content type='text'>
read() is interrupted by a signal.

dev_urandom_python() now calls _Py_read() helper instead of calling directly
read().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
read() is interrupted by a signal.

dev_urandom_python() now calls _Py_read() helper instead of calling directly
read().
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() before</title>
<updated>2015-03-19T22:24:45+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-19T22:24:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c7cd12da6062e19625cfef38aa25ed58a6109fa1'/>
<id>c7cd12da6062e19625cfef38aa25ed58a6109fa1</id>
<content type='text'>
opening /dev/urandom.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
opening /dev/urandom.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22181: The availability of the getrandom() is now checked in configure,</title>
<updated>2015-03-19T21:21:49+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-19T21:21:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9eb57c5fa50ed2f57d9320bb575371868316b5f2'/>
<id>9eb57c5fa50ed2f57d9320bb575371868316b5f2</id>
<content type='text'>
and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define.

Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define.

Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom().
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if</title>
<updated>2015-03-18T13:39:33+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-18T13:39:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=59f7fb29ec151ab64ace5056ab46cf8127a6dac2'/>
<id>59f7fb29ec151ab64ace5056ab46cf8127a6dac2</id>
<content type='text'>
available, syscall introduced in the Linux kernel 3.17. It is more reliable
and more secure, because it avoids the need of a file descriptor and waits
until the kernel has enough entropy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
available, syscall introduced in the Linux kernel 3.17. It is more reliable
and more secure, because it avoids the need of a file descriptor and waits
until the kernel has enough entropy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23694: Enhance _Py_open(), it now raises exceptions</title>
<updated>2015-03-17T23:22:14+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-17T23:22:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a555cfcb73cf677a99d29af6fa0bcfe4c35a2aeb'/>
<id>a555cfcb73cf677a99d29af6fa0bcfe4c35a2aeb</id>
<content type='text'>
* _Py_open() now raises exceptions on error. If open() fails, it raises an
  OSError with the filename.
* _Py_open() now releases the GIL while calling open()
* Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not
  held
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* _Py_open() now raises exceptions on error. If open() fails, it raises an
  OSError with the filename.
* _Py_open() now releases the GIL while calling open()
* Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not
  held
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on Windows.</title>
<updated>2015-02-21T16:44:05+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2015-02-21T16:44:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f2f373f5931be48efc3f6fa2c2faa1cca79dce75'/>
<id>f2f373f5931be48efc3f6fa2c2faa1cca79dce75</id>
<content type='text'>
fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer.
</pre>
</div>
</content>
</entry>
</feed>
