| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
| |
Add probability distribution to the docstring
|
| |
|
| |
|
|
|
|
| |
(GH-121907)
|
| |
|
|
|
|
|
|
|
| |
The random module now imports the _sha2 module lazily in the
Random.seed() method for str, bytes and bytearray seeds. It also
imports lazily the warnings module in the _randbelow() method for
classes without getrandbits(). Lazy import makes Python startup
faster and reduces the number of imported modules at startup.
|
|
|
|
|
| |
random.seed call. (#110051)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
signs for random.random()'s documentation (#101119)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(GH-31098)
|
|
|
|
| |
(GH-30008)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(GH-23665)
|
|
|
|
| |
(GH-22441)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Remove _random.Random.randbytes(): the C implementation of
randbytes(). Implement the method in Python to ease subclassing:
randbytes() now directly reuses getrandbits().
|
| |
|