<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/random.c, branch 3.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/random.c?h=3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/random.c?h=3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-11-13T06:27:05Z</updated>
<entry>
<title>bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503)</title>
<updated>2018-11-13T06:27:05Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-11-13T06:27:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=60cf26528b931215160a53fd61836dbe4f036009'/>
<id>urn:sha1:60cf26528b931215160a53fd61836dbe4f036009</id>
<content type='text'>
Rename our new MEMORY_SANITIZER define to _Py_MEMORY_SANITIZER.
Project based C Preprocessor namespacing at its finest. :P
(cherry picked from commit 3015fb8ce4d25603434b9b44bb7effb98a481532)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>[3.6] bpo-35214: Initial clang MemorySanitizer support (GH-10479) (GH-10493)</title>
<updated>2018-11-13T00:10:21Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2018-11-13T00:10:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3b5b1c0931cd32253bbf2f3bd74e90ff821e026e'/>
<id>urn:sha1:3b5b1c0931cd32253bbf2f3bd74e90ff821e026e</id>
<content type='text'>
Adds configure flags for msan and ubsan builds to make it easier to enable.
These also encode the detail that address sanitizer and memory sanitizer
should disable pymalloc.

Define MEMORY_SANITIZER when appropriate at build time and adds workarounds
to existing code to mark things as initialized where the sanitizer is otherwise unable to
determine that.  This lets our build succeed under the memory sanitizer.  not all tests
pass without sanitizer failures yet but we're in pretty good shape after this.

(cherry picked from commit 1584a0081500d35dc93ff88e5836df35faf3e3e2)

Contributed by Gregory P. Smith [Google LLC]

Also includes a whitespace fix from make patchcheck to _posixsubprocess.c - unrelated to the main change that makes the CI happy so I'm just doing it now rather than creating a separate PR.</content>
</entry>
<entry>
<title>[3.6] bpo-33021: Release the GIL during fstat() calls (GH-6019) (GH-6160)</title>
<updated>2018-03-20T19:40:18Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-03-20T19:40:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f3e6eadbcf4f3e0fe53f4784485b1c8464c7d282'/>
<id>urn:sha1:f3e6eadbcf4f3e0fe53f4784485b1c8464c7d282</id>
<content type='text'>
fstat may block for long time if the file descriptor is on a
non-responsive NFS server, hanging all threads. Most fstat() calls are
handled by _Py_fstat(), releasing the GIL internally, but but
_Py_fstat_noraise() does not release the GIL, and most calls release the
GIL explicitly around it.

This patch fixes last 2 calls to _Py_fstat_no_raise(), avoiding hangs
when calling:
- mmap.mmap()
- os.urandom()
- random.seed()
(cherry picked from commit 4484f9dca9149da135bbae035f10a50d20d1cbbb)

Co-authored-by: Nir Soffer &lt;nirsof@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-32329: Fix sys.flags.hash_randomization (#4875)</title>
<updated>2017-12-15T00:39:48Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-12-15T00:39:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=22097aaa77b4f0473552fe840358d77e5b9a253f'/>
<id>urn:sha1:22097aaa77b4f0473552fe840358d77e5b9a253f</id>
<content type='text'>
sys.flags.hash_randomization is now properly set to 0 when hash
randomization is turned off by PYTHONHASHSEED=0.</content>
</entry>
<entry>
<title>Issue #29157: Prefer getrandom() over getentropy()</title>
<updated>2017-01-06T23:07:45Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-01-06T23:07:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff558f5aba40bd173f336503def886a12f8db016'/>
<id>urn:sha1:ff558f5aba40bd173f336503def886a12f8db016</id>
<content type='text'>
* dev_urandom() now calls py_getentropy(). Prepare the fallback to support
  getentropy() failure and falls back on reading from /dev/urandom.
* Simplify dev_urandom(). pyurandom() is now responsible to call getentropy()
  or getrandom(). Enhance also dev_urandom() and pyurandom() documentation.
* getrandom() is now preferred over getentropy(). The glibc 2.24 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)"
* Enhance py_getrandom() documentation. py_getentropy() now supports ENOSYS,
  EPERM &amp; EINTR
</content>
</entry>
<entry>
<title>merge 3.5 (#29057)</title>
<updated>2017-01-02T04:30:26Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-01-02T04:30:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=46322587ecb725c99211c3365a7ba2cbfc574403'/>
<id>urn:sha1:46322587ecb725c99211c3365a7ba2cbfc574403</id>
<content type='text'>
</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:36Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-01-02T04:29:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=493ac1bbe02a57d08e0f8a76b436626f86b03796'/>
<id>urn:sha1:493ac1bbe02a57d08e0f8a76b436626f86b03796</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge 3.5 (#28932)</title>
<updated>2016-12-20T07:54:57Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-12-20T07:54:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b0eb986eb236c41ebf098233940e038c7b993b9f'/>
<id>urn:sha1:b0eb986eb236c41ebf098233940e038c7b993b9f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add a specific configure check for sys/random.h (closes #28932)</title>
<updated>2016-12-20T07:54:25Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-12-20T07:54:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fb2ae15c6704a072afeef4786749d9bb2ce7d68d'/>
<id>urn:sha1:fb2ae15c6704a072afeef4786749d9bb2ce7d68d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #28676: merge from 3.5</title>
<updated>2016-11-12T21:38:03Z</updated>
<author>
<name>Ned Deily</name>
<email>nad@python.org</email>
</author>
<published>2016-11-12T21:38:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7d895d3c37e2ff5189d2d8b71def4e2fee34f10b'/>
<id>urn:sha1:7d895d3c37e2ff5189d2d8b71def4e2fee34f10b</id>
<content type='text'>
</content>
</entry>
</feed>
