summaryrefslogtreecommitdiff
path: root/Modules/_randommodule.c
AgeCommit message (Expand)AuthorLines
2019-05-30bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (G...Jeroen Demeyer-2/+2
2019-05-24bpo-37021: Port _randommodule to the argument clinic (GH-13532)Pablo Galindo-26/+83
2019-02-13closes bpo-35991: Fix a potential double free in Modules/_randommodule.c. (GH...Zackery Spytz-1/+0
2018-04-29bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH...Siddhesh Poyarekar-2/+2
2017-09-28bpo-31478: Fix an assertion failure in random.seed() in case a seed has a bad...Oren Milman-2/+5
2017-06-08bpo-30592: Fixed error messages for some builtins. (#1996)Serhiy Storchaka-1/+1
2017-04-22bpo-29960 _random.Random corrupted on exception in setstate(). (#1019)bladebryan-1/+4
2017-02-15Update URL of Mersenne Twister Home Page (#20)Hiroki Noda-3/+3
2017-01-23Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE whereverSerhiy Storchaka-2/+1
2016-12-28fix error check, so that Random.seed actually uses OS randomness (closes #29085)Benjamin Peterson-1/+1
2016-09-06Issue #27776: include process.h on Windows for getpid()Victor Stinner-0/+3
2016-09-06os.urandom() now blocks on LinuxVictor Stinner-10/+46
2016-09-06replace Python aliases for standard integer types with the standard integer t...Benjamin Peterson-24/+20
2016-04-29Fix typos. Reported by andportnoy on GitHub.Berker Peksag-1/+1
2015-12-25Issue #25923: Added the const qualifier to static constant arrays.Serhiy Storchaka-1/+1
2015-07-24Issue #24620: Random.setstate() now validates the value of state last element.Serhiy Storchaka-0/+4
2015-07-24Issue #24620: Random.setstate() now validates the value of state last element.Serhiy Storchaka-0/+4
2015-05-17Issue #23488: Fix a syntax error on big endian platforms.Zachary Ware-1/+1
2015-05-13Issue #23488: Random generator objects now consume 2x less memory on 64-bit.Serhiy Storchaka-70/+68
2015-02-20Improve struct cache locality by bring commonly accessed fields close together.Raymond Hettinger-1/+1
2013-11-15Fix compiler warning on Windows 64-bit: explicit cast size_t to unsigned longVictor Stinner-2/+2
2013-08-27Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka-1/+1
2013-08-27Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka-1/+1
2013-07-15Issue #18408: random_seed() now raises a MemoryError on memory allocationVictor Stinner-1/+4
2013-01-04Issue #16674: random.getrandbits() is now 20-40% faster for small integers.Serhiy Storchaka-0/+3
2012-12-21Simplify random_seed to use _PyLong_AsByteArray. Closes issue #16496.Mark Dickinson-64/+35
2012-10-06Issue #16096: Fix several occurrences of potential signed integer overflow. ...Mark Dickinson-1/+2
2012-06-24Issue #14815: Bugfix: the PyLong fed into the seed generator must be unsigned.Larry Hastings-4/+5
2012-06-24Issue #14815: Use Py_ssize_t instead of long for the object hash, toLarry Hastings-2/+2
2012-05-31Issue #14909: A number of places were using PyMem_Realloc() apis andKristjan Valur Jonsson-3/+4
2010-08-24tabbing no longer applicableBenjamin Peterson-1/+1
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-331/+331
2009-05-05Merged revisions 72344 via svnmerge fromMark Dickinson-1/+1
2009-02-02Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson-1/+1
2008-06-11Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis-4/+18
2008-01-13Remove defunct parts of the random moduleRaymond Hettinger-69/+0
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes-2/+2
2007-12-03Merged revisions 59275-59303 via svnmerge fromChristian Heimes-7/+8
2007-12-02Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases i...Christian Heimes-7/+7
2007-08-31Remove checking redundantly for checks of PyInt and PyLong.Neal Norwitz-2/+2
2007-08-19Remove _PyObject_DelNeal Norwitz-1/+1
2007-07-21Merged revisions 56467-56482 via svnmerge fromMartin v. Löwis-4/+3
2007-02-01Merged revisions 53451-53537 via svnmerge fromThomas Wouters-1/+1
2006-01-19Check return result from Py_InitModule*(). This API can fail.Neal Norwitz-0/+2
2005-08-26Disallow keyword arguments for type constructors that don't use them.Georg Brandl-0/+3
2003-10-05SF bug #812202: randint is always evenRaymond Hettinger-0/+44
2003-05-23PyType_GenericAlloc is inherited from object.Raymond Hettinger-1/+1
2003-04-23PyObject_IsTrue() can return an error condition.Raymond Hettinger-1/+4
2003-04-16Minor source formatting fixes.Raymond Hettinger-2/+2
2003-01-06Patch #661760: Cygwin auto-import module patchJason Tishler-6/+3