Commit Graph

135 Commits

Author SHA1 Message Date
Andrew Svetlov
44e33f39bf Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:04:19 +03:00
Andrew Svetlov
b4fd468f12 Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:00:04 +03:00
Andrew Svetlov
730001163f Issue #13355: Raise ValueError on random.triangular call with invalid params.
Initial patch by Yuriy Senko.
2013-04-12 23:27:37 +03:00
Andrew Svetlov
a2dfc35a13 Issue #13355: Raise ValueError on random.triangular call with invalid params.
Initial patch by Yuriy Senko.
2013-04-12 23:21:01 +03:00
R David Murray
d9ebf4dc1f #17489: Add explanatory comment that __getstate__ is not called.
We don't put coverage directives in the stdlib, but anyone looking at a
coverage report for Random should see the comment and understand why the lines
aren't covered.
2013-04-02 13:10:52 -04:00
Serhiy Storchaka
06e5e730dd Issue #17141: random.vonmisesvariate() no more hangs for large kappas. 2013-02-10 19:29:54 +02:00
Serhiy Storchaka
ac99576a8e Issue #17141: random.vonmisesvariate() no more hangs for large kappas. 2013-02-10 19:29:20 +02:00
Serhiy Storchaka
6c22b1d760 Issue #17141: random.vonmisesvariate() no more hangs for large kappas. 2013-02-10 19:28:56 +02:00
Mark Dickinson
1b901baee5 Issue #17149: merge fix from 3.3. 2013-02-10 14:17:20 +00:00
Mark Dickinson
6427358501 Issue #17149: merge fix from 3.2. 2013-02-10 14:16:56 +00:00
Mark Dickinson
be5f91957f Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*math.pi]. 2013-02-10 14:16:10 +00:00
Antoine Pitrou
5e3943317d Issue #15837: add some tests for random.shuffle().
Patch by Alessandro Moura.
2012-11-04 02:10:33 +01:00
Sandro Tosi
e1b22edd23 Issue #14926: merge with 3.2 2012-06-02 19:40:20 +02:00
Sandro Tosi
29d09aa4dd Issue #14926: fix docstring highlight 2012-06-02 19:40:02 +02:00
Brian Curtin
4ff29db243 Merge 3.2 2011-11-11 09:41:17 -06:00
Brian Curtin
675f6b87cd Fix #13384. Remove __future__ import in 3.x code. 2011-11-11 09:37:25 -06:00
Raymond Hettinger
12fb2f41f0 Code simplification suggested by Sven Marnach. 2011-06-25 11:31:46 +02:00
Raymond Hettinger
5279fb99cb Code simplification suggested by Sven Marnach. 2011-06-25 11:30:53 +02:00
Raymond Hettinger
102d874999 Sync-up minor code edits with the default branch. 2011-05-05 11:49:12 -07:00
Raymond Hettinger
7c5dc912ba Avoid codec spelling issues by just using the utf-8 default. 2011-05-05 11:38:06 -07:00
Raymond Hettinger
f90ba8a9a2 Avoid codec spelling issues by just using the utf-8 default. 2011-05-05 11:35:50 -07:00
Ezio Melotti
0dea6484a0 #11848: Merge with 3.2. 2011-04-15 08:27:37 +03:00
Ezio Melotti
82b0d5d144 #11848: Merge with 3.1. 2011-04-15 08:27:00 +03:00
Ezio Melotti
20f53f1fe7 #11848: replace dead link in random.betavariate comment. 2011-04-15 08:25:16 +03:00
Raymond Hettinger
09cbadd005 Issue 10787: Document the probability density function for random.gammavariate. 2011-03-22 15:57:03 -07:00