summaryrefslogtreecommitdiffstats
path: root/Modules/_randommodule.c
Commit message (Expand)AuthorAgeFilesLines
* bpo-40867: Remove unused include from Module/_randommodule.c (GH-20635)Erlend Egeberg Aasland2020-06-051-1/+0
* bpo-40286: Remove C implementation of Random.randbytes() (GH-19797)Victor Stinner2020-04-291-45/+0
* bpo-40286: Makes simpler the relation between randbytes() and getrandbits() (...Serhiy Storchaka2020-04-171-12/+6
* bpo-40282: Allow random.getrandbits(0) (GH-19539)Antoine Pitrou2020-04-171-2/+5
* bpo-40302: Replace PY_INT64_T with int64_t (GH-19573)Victor Stinner2020-04-171-6/+6
* bpo-40286: Add randbytes() method to random.Random (GH-19527)Victor Stinner2020-04-171-7/+58
* bpo-39968: Convert extension modules' macros of get_module_state() to inline ...Hai Shi2020-03-161-7/+13
* bpo-38075: Fix random_seed(): use PyObject_CallOneArg() (GH-18897)Victor Stinner2020-03-101-4/+1
* bpo-39245: Switch to public API for Vectorcall (GH-18460)Petr Viktorin2020-02-111-1/+1
* bpo-38321: Fix compiler warning in _randommodule.c (GH-16512)Victor Stinner2019-10-011-1/+1
* Fix missing dec ref (#16158)Dino Viehland2019-09-151-0/+1
* bpo-38075: Port _randommodule.c to PEP-384 (GH-15798)Dino Viehland2019-09-131-57/+92
* bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (G...Jeroen Demeyer2019-05-311-2/+2
* bpo-37021: Port _randommodule to the argument clinic (GH-13532)Pablo Galindo2019-05-241-26/+83
* closes bpo-35991: Fix a potential double free in Modules/_randommodule.c. (GH...Zackery Spytz2019-02-141-1/+0
* bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH...Siddhesh Poyarekar2018-04-291-2/+2
* bpo-31478: Fix an assertion failure in random.seed() in case a seed has a bad...Oren Milman2017-09-281-2/+5
* bpo-30592: Fixed error messages for some builtins. (#1996)Serhiy Storchaka2017-06-081-1/+1
* bpo-29960 _random.Random corrupted on exception in setstate(). (#1019)bladebryan2017-04-221-1/+4
* Update URL of Mersenne Twister Home Page (#20)Hiroki Noda2017-02-151-3/+3
* Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE whereverSerhiy Storchaka2017-01-231-2/+1
* fix error check, so that Random.seed actually uses OS randomness (closes #29085)Benjamin Peterson2016-12-291-1/+1
* Issue #27776: include process.h on Windows for getpid()Victor Stinner2016-09-071-0/+3
* os.urandom() now blocks on LinuxVictor Stinner2016-09-061-10/+46
* replace Python aliases for standard integer types with the standard integer t...Benjamin Peterson2016-09-061-24/+20
* Fix typos. Reported by andportnoy on GitHub.Berker Peksag2016-04-291-1/+1
* Issue #25923: Added the const qualifier to static constant arrays.Serhiy Storchaka2015-12-251-1/+1
* Issue #24620: Random.setstate() now validates the value of state last element.Serhiy Storchaka2015-07-241-0/+4
|\
| * Issue #24620: Random.setstate() now validates the value of state last element.Serhiy Storchaka2015-07-241-0/+4
* | Issue #23488: Fix a syntax error on big endian platforms.Zachary Ware2015-05-181-1/+1
* | Issue #23488: Random generator objects now consume 2x less memory on 64-bit.Serhiy Storchaka2015-05-131-70/+68
* | Improve struct cache locality by bring commonly accessed fields close together.Raymond Hettinger2015-02-201-1/+1
|/
* Fix compiler warning on Windows 64-bit: explicit cast size_t to unsigned longVictor Stinner2013-11-151-2/+2
* Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
|\
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
* | Issue #18408: random_seed() now raises a MemoryError on memory allocationVictor Stinner2013-07-151-1/+4
* | Issue #16674: random.getrandbits() is now 20-40% faster for small integers.Serhiy Storchaka2013-01-041-0/+3
* | Simplify random_seed to use _PyLong_AsByteArray. Closes issue #16496.Mark Dickinson2012-12-211-64/+35
|/
* Issue #16096: Fix several occurrences of potential signed integer overflow. ...Mark Dickinson2012-10-061-1/+2
* Issue #14815: Bugfix: the PyLong fed into the seed generator must be unsigned.Larry Hastings2012-06-241-4/+5
* Issue #14815: Use Py_ssize_t instead of long for the object hash, toLarry Hastings2012-06-241-2/+2
* Issue #14909: A number of places were using PyMem_Realloc() apis andKristjan Valur Jonsson2012-05-311-3/+4
* tabbing no longer applicableBenjamin Peterson2010-08-241-1/+1
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-357/+357
* Merged revisions 72344 via svnmerge fromMark Dickinson2009-05-051-1/+1
* Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson2009-02-021-1/+1
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-4/+18
* Remove defunct parts of the random moduleRaymond Hettinger2008-01-131-69/+0
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes2007-12-191-2/+2
* Merged revisions 59275-59303 via svnmerge fromChristian Heimes2007-12-031-7/+8