<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/random.py, branch 2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/random.py?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/random.py?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-01-04T09:30:32Z</updated>
<entry>
<title>Correct long standing bugs in the methods for random distributions.</title>
<updated>2003-01-04T09:30:32Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-01-04T09:30:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=63b5156e6e4a01737c333265772c677035fce657'/>
<id>urn:sha1:63b5156e6e4a01737c333265772c677035fce657</id>
<content type='text'>
The range of u=random() is [0,1), so log(u) and 1/x can fail.
Fix by setting u=1-random() or by reselecting for a usable value.
</content>
</entry>
<entry>
<title>Backport 1.33 (omitting the deprecation warning but keeping the deprecation</title>
<updated>2002-10-05T14:42:52Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-10-05T14:42:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=67fe68ec65c80fc940fb68c0a301e727b63c6df7'/>
<id>urn:sha1:67fe68ec65c80fc940fb68c0a301e727b63c6df7</id>
<content type='text'>
comment):

Deprecated Random.cunifvariate clearing bug 506647.
Also, added docstrings.
</content>
</entry>
<entry>
<title>Backport:</title>
<updated>2002-09-23T14:52:40Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-09-23T14:52:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=07c0e6771dcd44bb110df3c626d4d764e3476bf9'/>
<id>urn:sha1:07c0e6771dcd44bb110df3c626d4d764e3476bf9</id>
<content type='text'>
SF bug 594996:  OverflowError in random.randrange
Loosened the acceptable 'start' and 'stop' arguments so that any
Python (bounded) ints can be used.  So, e.g., randrange(-sys.maxint-1,
sys.maxint) no longer blows up.
</content>
</entry>
<entry>
<title>Whitespace normalization and backport:</title>
<updated>2002-09-23T14:48:16Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-09-23T14:48:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=070884c76a1d0e9da8eb8f8615f418c283b516b7'/>
<id>urn:sha1:070884c76a1d0e9da8eb8f8615f418c283b516b7</id>
<content type='text'>
random.gauss() uses a piece of hidden state used by nothing else,
and the .seed() and .whseed() methods failed to reset it.  In other
words, setting the seed didn't completely determine the sequence of
results produced by random.gauss().  It does now.  Programs repeatedly
mixing calls to a seed method with calls to gauss() may see different
results now.

Bugfix candidate (random.gauss() has always been broken in this way),
despite that it may change results.
</content>
</entry>
<entry>
<title>Use spaces, not tabs for indents.</title>
<updated>2002-05-14T14:07:12Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-05-14T14:07:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91dfd453500e6cd13b96c717edb472990923d620'/>
<id>urn:sha1:91dfd453500e6cd13b96c717edb472990923d620</id>
<content type='text'>
Raymond Hettinger, beware!  This caused the Unix install to fail!
</content>
</entry>
<entry>
<title>Closes patch 529408 deprecating random.stdgamma().</title>
<updated>2002-05-14T06:56:27Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-05-14T06:56:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=695c737b16084a2e22bdeff1706de9a85ede1d8a'/>
<id>urn:sha1:695c737b16084a2e22bdeff1706de9a85ede1d8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Closes SF bug 527139.  Moved temp variables inside guard.</title>
<updated>2002-05-13T23:43:06Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-05-13T23:43:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c28e1f8fdbcb0b2e58e8365335ef95f63faea792'/>
<id>urn:sha1:c28e1f8fdbcb0b2e58e8365335ef95f63faea792</id>
<content type='text'>
</content>
</entry>
<entry>
<title>backport nnorwitz's patch:</title>
<updated>2002-04-18T05:00:45Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2002-04-18T05:00:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0e654222e74eac29b8a6d0983d72bee841de161e'/>
<id>urn:sha1:0e654222e74eac29b8a6d0983d72bee841de161e</id>
<content type='text'>
BDFL agreed with Tim: rehabilitate randint().
</content>
</entry>
<entry>
<title>SF patch 483059: Avoid use of eval() in random.py, from Finn Bock.</title>
<updated>2001-11-25T21:12:43Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-25T21:12:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dc47a89ff19b932c1c794422a5223847b4e64f0e'/>
<id>urn:sha1:dc47a89ff19b932c1c794422a5223847b4e64f0e</id>
<content type='text'>
_verify():  Pass in the values of globals insted of eval()ing their
names.  The use of eval() was obscure and unnecessary, and the patch
claimed random.py couldn't be used in Jython applets because of it.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-02-15T23:56:39Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-02-15T23:56:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0e6d213177dd571dd634d286ae45c38eb06d63b9'/>
<id>urn:sha1:0e6d213177dd571dd634d286ae45c38eb06d63b9</id>
<content type='text'>
</content>
</entry>
</feed>
