<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/random.py, 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-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)</title>
<updated>2018-12-17T10:49:22+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-17T10:49:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9ade4cbc0f54fc0e2970e4e202f09ab83f5e3b77'/>
<id>9ade4cbc0f54fc0e2970e4e202f09ab83f5e3b77</id>
<content type='text'>
TextTestRunner of unittest.runner now uses time.perf_counter() rather
than time.time() to measure the execution time of a test: time.time()
can go backwards, whereas time.perf_counter() is monotonic.

Similar change made in libregrtest, pprint and random.
(cherry picked from commit 8db5b54463118e5eb60cb3582e3108623f01f5df)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TextTestRunner of unittest.runner now uses time.perf_counter() rather
than time.time() to measure the execution time of a test: time.time()
can go backwards, whereas time.perf_counter() is monotonic.

Similar change made in libregrtest, pprint and random.
(cherry picked from commit 8db5b54463118e5eb60cb3582e3108623f01f5df)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-24567: Random subnormal.diff (GH-7954) (GH-7955)</title>
<updated>2018-06-27T08:53:04+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-27T08:53:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0eaf7b975bd61169a8d78945d2d12f23299f61a8'/>
<id>0eaf7b975bd61169a8d78945d2d12f23299f61a8</id>
<content type='text'>
Handle subnormal weights for choices()
(cherry picked from commit ddf7171911e117aa7ad4b0f9ded4f0c3a4ca0fec)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handle subnormal weights for choices()
(cherry picked from commit ddf7171911e117aa7ad4b0f9ded4f0c3a4ca0fec)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33203: Ensure random.choice always raises IndexError on empty sequence (GH-6338) (GH-6387)</title>
<updated>2018-04-05T16:02:12+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-04-05T16:02:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=baf304e82e1b54dbeee6b78ddf168e33ed8d557a'/>
<id>baf304e82e1b54dbeee6b78ddf168e33ed8d557a</id>
<content type='text'>
(cherry picked from commit 091e95e9004b794280ab35becec2c3e30dd5e96e)

Co-authored-by: Wolfgang Maier &lt;wolfgang.maier@biologie.uni-freiburg.de&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 091e95e9004b794280ab35becec2c3e30dd5e96e)

Co-authored-by: Wolfgang Maier &lt;wolfgang.maier@biologie.uni-freiburg.de&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31482:  Missing bytes support for random.seed() version 1 (#3614)</title>
<updated>2017-09-17T16:04:30+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2017-09-17T16:04:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=132a7d7cdbc7cb89fa1c1f4e8192241c3d68f549'/>
<id>132a7d7cdbc7cb89fa1c1f4e8192241c3d68f549</id>
<content type='text'>
bpo-31482: Missing bytes support for random.seed() version 1 #3614</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-31482: Missing bytes support for random.seed() version 1 #3614</pre>
</div>
</content>
</entry>
<entry>
<title>random_triangular:  sqrt() is more accurate than **0.5 (#3317)</title>
<updated>2017-09-04T23:51:06+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2017-09-04T23:51:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f5ea83f4864232fecc042ff0d1c2401807b19280'/>
<id>f5ea83f4864232fecc042ff0d1c2401807b19280</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix comment (#1798)</title>
<updated>2017-06-04T06:41:41+00:00</updated>
<author>
<name>leodema</name>
<email>leodema@users.noreply.github.com</email>
</author>
<published>2017-06-04T06:41:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9f396b605ec03fc5af100222f1b0a9063ac02a0b'/>
<id>9f396b605ec03fc5af100222f1b0a9063ac02a0b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834)</title>
<updated>2017-05-29T17:03:41+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2017-05-29T17:03:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=163468a766e16604bdea04a1ab808c0d3e729e5d'/>
<id>163468a766e16604bdea04a1ab808c0d3e729e5d</id>
<content type='text'>
Instead use keyword only arguments to os.register_at_fork for each of the scenarios.
Updates the documentation for clarity.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead use keyword only arguments to os.register_at_fork for each of the scenarios.
Updates the documentation for clarity.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-16500: Allow registering at-fork handlers (#1715)</title>
<updated>2017-05-27T15:50:54+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-05-27T15:50:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=346cbd351ee0dd3ab9cb9f0e4cb625556707877e'/>
<id>346cbd351ee0dd3ab9cb9f0e4cb625556707877e</id>
<content type='text'>
* bpo-16500: Allow registering at-fork handlers

* Address Serhiy's comments

* Add doc for new C API

* Add doc for new Python-facing function

* Add NEWS entry + doc nit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-16500: Allow registering at-fork handlers

* Address Serhiy's comments

* Add doc for new C API

* Add doc for new Python-facing function

* Add NEWS entry + doc nit
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29055: Suppress upstream exception for random.choice()</title>
<updated>2016-12-27T09:06:52+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2016-12-27T09:06:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bb2839b680b565f99e463921f3c28fb3c7368096'/>
<id>bb2839b680b565f99e463921f3c28fb3c7368096</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue 28475:  Improve error message for random.sample() with k &lt; 0. (Contributed by Francisco Couzo).</title>
<updated>2016-11-21T22:34:33+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2016-11-21T22:34:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bf87126a636bddf2d9a8f432215fe2efb98ba8fe'/>
<id>bf87126a636bddf2d9a8f432215fe2efb98ba8fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
