summaryrefslogtreecommitdiff
path: root/Modules/_randommodule.c
Commit message (Expand)AuthorAgeFilesLines
* bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (G...Jeroen Demeyer2019-05-301-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-131-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-281-1/+1
* Issue #27776: include process.h on Windows for getpid()Victor Stinner2016-09-061-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-171-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
* Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases i...Christian Heimes2007-12-021-7/+7
* Remove checking redundantly for checks of PyInt and PyLong.Neal Norwitz2007-08-311-2/+2
* Remove _PyObject_DelNeal Norwitz2007-08-191-1/+1
* Merged revisions 56467-56482 via svnmerge fromMartin v. Löwis2007-07-211-4/+3
* Merged revisions 53451-53537 via svnmerge fromThomas Wouters2007-02-011-1/+1
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
* Disallow keyword arguments for type constructors that don't use them.Georg Brandl2005-08-261-0/+3
* SF bug #812202: randint is always evenRaymond Hettinger2003-10-051-0/+44
* PyType_GenericAlloc is inherited from object.Raymond Hettinger2003-05-231-1/+1
* PyObject_IsTrue() can return an error condition.Raymond Hettinger2003-04-231-1/+4
* Minor source formatting fixes.Raymond Hettinger2003-04-161-2/+2
* Patch #661760: Cygwin auto-import module patchJason Tishler2003-01-061-6/+3