32 Commits (be9acefc6bdf6e71407cedfedae330b919ff0637)

Author SHA1 Message Date
Victor Stinner 1109b54e03 Fix compiler warning on Windows 64-bit: explicit cast size_t to unsigned long 12 years ago
Serhiy Storchaka 9594942716 Issue #18783: Removed existing mentions of Python long type in docstrings, 13 years ago
Victor Stinner a4ced86f03 Issue #18408: random_seed() now raises a MemoryError on memory allocation 13 years ago
Serhiy Storchaka d8a0bac8f7 Issue #16674: random.getrandbits() is now 20-40% faster for small integers. 13 years ago
Mark Dickinson 4cd60175f1 Simplify random_seed to use _PyLong_AsByteArray. Closes issue #16496. 13 years ago
Mark Dickinson c04ddff290 Issue #16096: Fix several occurrences of potential signed integer overflow. Thanks Serhiy Storchaka. 13 years ago
Mark Dickinson e0afb72402 Closes #14591: Random.jumpahead could produce an invalid MT state on 64-bit machines. 14 years ago
Larry Hastings d60cd4295c Issue #14815: Bugfix: the PyLong fed into the seed generator must be unsigned. 14 years ago
Larry Hastings 49c15d4a5f Issue #14815: Use Py_ssize_t instead of long for the object hash, to 14 years ago
Kristjan Valur Jonsson 85634d7a2e Issue #14909: A number of places were using PyMem_Realloc() apis and 14 years ago
Benjamin Peterson 6fb0fd1232 Merged revisions 84299 via svnmerge from 16 years ago
Benjamin Peterson d8e5f2df68 tabbing no longer applicable 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Mark Dickinson 9cc2cf78ad Merged revisions 72344 via svnmerge from 17 years ago
Mark Dickinson 2468f68f7c Merged revisions 72344 via svnmerge from 17 years ago
Mark Dickinson 929ab93489 Issue #5933: Fix some gcc -Wextra warnings. Thanks Victor Stinner for 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Martin v. Löwis 1a21451b1d Implement PEP 3121: new module initialization and finalization API. 18 years ago
Raymond Hettinger 28de64fd0f Remove defunct parts of the random module 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago
Christian Heimes e93237dfcc #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 18 years ago
Christian Heimes cbf3b5cb76 Merged revisions 59275-59303 via svnmerge from 18 years ago
Martin v. Löwis 6b449f4f2b Issue #1727780: Support loading pickles of random.Random objects created 18 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 18 years ago
Neal Norwitz 1fe5f38852 Remove checking redundantly for checks of PyInt and PyLong. 19 years ago
Neal Norwitz 30d1c51ac9 Remove _PyObject_Del 19 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Thomas Wouters b213704f3c Merged revisions 53451-53537 via svnmerge from 19 years ago
Georg Brandl 8e932e7d68 Bug #1486663: don't reject keyword arguments for subclasses of builtin 19 years ago
Georg Brandl b84c13792d Bug #1486663: don't reject keyword arguments for subclasses of builtin 19 years ago
Neal Norwitz 1ac754fa10 Check return result from Py_InitModule*(). This API can fail. 20 years ago
Georg Brandl 02c42871cf Disallow keyword arguments for type constructors that don't use them. 21 years ago
Raymond Hettinger 2f726e9093 SF bug #812202: randint is always even 23 years ago
Raymond Hettinger bfef18ca0e PyType_GenericAlloc is inherited from object. 23 years ago
Raymond Hettinger 9a9c436036 PyObject_IsTrue() can return an error condition. 23 years ago
Raymond Hettinger 954bcf5fe0 Minor source formatting fixes. 23 years ago
Jason Tishler fb8595df4f Patch #661760: Cygwin auto-import module patch 23 years ago
Neal Norwitz 13af1142fc Try to get compilation working for cygwin 23 years ago
Raymond Hettinger 40f6217092 SF patch 658251: Install a C implementation of the Mersenne Twister as the 23 years ago