summaryrefslogtreecommitdiffstats
path: root/Modules/_randommodule.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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
* Try to get compilation working for cygwinNeal Norwitz2002-12-311-3/+6
* SF patch 658251: Install a C implementation of the Mersenne Twister as theRaymond Hettinger2002-12-291-0/+528