Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
010f361dadcbc9f124c7b55b5965b982d60edac8
/
Modules
/
_randommodule.c
0ac70c0
Fix typos. Reported by andportnoy on GitHub.
by Berker Peksag
· 9 years ago
2d06e84
Issue #25923: Added the const qualifier to static constant arrays.
by Serhiy Storchaka
· 9 years ago
c19bb32
Issue #24620: Random.setstate() now validates the value of state last element.
by Serhiy Storchaka
· 9 years ago
178f0b6
Issue #24620: Random.setstate() now validates the value of state last element.
by Serhiy Storchaka
· 9 years ago
c15ea4c
Issue #23488: Fix a syntax error on big endian platforms.
by Zachary Ware
· 9 years ago
dce0405
Issue #23488: Random generator objects now consume 2x less memory on 64-bit.
by Serhiy Storchaka
· 9 years ago
7a4f43a
Improve struct cache locality by bring commonly accessed fields close together.
by Raymond Hettinger
· 10 years ago
1109b54
Fix compiler warning on Windows 64-bit: explicit cast size_t to unsigned long
by Victor Stinner
· 11 years ago
46e1ce2
Issue #18783: Removed existing mentions of Python long type in docstrings,
by Serhiy Storchaka
· 11 years ago
9594942
Issue #18783: Removed existing mentions of Python long type in docstrings,
by Serhiy Storchaka
· 11 years ago
a4ced86
Issue #18408: random_seed() now raises a MemoryError on memory allocation
by Victor Stinner
· 11 years ago
d8a0bac
Issue #16674: random.getrandbits() is now 20-40% faster for small integers.
by Serhiy Storchaka
· 12 years ago
4cd6017
Simplify random_seed to use _PyLong_AsByteArray. Closes issue #16496.
by Mark Dickinson
· 12 years ago
c04ddff
Issue #16096: Fix several occurrences of potential signed integer overflow. Thanks Serhiy Storchaka.
by Mark Dickinson
· 12 years ago
d60cd42
Issue #14815: Bugfix: the PyLong fed into the seed generator must be unsigned.
by Larry Hastings
· 12 years ago
49c15d4
Issue #14815: Use Py_ssize_t instead of long for the object hash, to
by Larry Hastings
· 12 years ago
85634d7
Issue #14909: A number of places were using PyMem_Realloc() apis and
by Kristjan Valur Jonsson
· 12 years ago
d8e5f2d
tabbing no longer applicable
by Benjamin Peterson
· 14 years ago
f95a1b3
Recorded merge of revisions 81029 via svnmerge from
by Antoine Pitrou
· 14 years ago
9cc2cf7
Merged revisions 72344 via svnmerge from
by Mark Dickinson
· 15 years ago
e94c679
Issue #1717: rename tp_compare to tp_reserved. I'll change the
by Mark Dickinson
· 16 years ago
1a21451
Implement PEP 3121: new module initialization and finalization API.
by Martin v. Löwis
· 16 years ago
28de64f
Remove defunct parts of the random module
by Raymond Hettinger
· 17 years ago
90aa764
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
by Christian Heimes
· 17 years ago
cbf3b5c
Merged revisions 59275-59303 via svnmerge from
by Christian Heimes
· 17 years ago
217cfd1
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
by Christian Heimes
· 17 years ago
1fe5f38
Remove checking redundantly for checks of PyInt and PyLong.
by Neal Norwitz
· 17 years ago
30d1c51
Remove _PyObject_Del
by Neal Norwitz
· 17 years ago
9f2e346
Merged revisions 56467-56482 via svnmerge from
by Martin v. Löwis
· 17 years ago
b213704
Merged revisions 53451-53537 via svnmerge from
by Thomas Wouters
· 18 years ago
1ac754f
Check return result from Py_InitModule*(). This API can fail.
by Neal Norwitz
· 19 years ago
02c4287
Disallow keyword arguments for type constructors that don't use them.
by Georg Brandl
· 19 years ago
2f726e9
SF bug #812202: randint is always even
by Raymond Hettinger
· 21 years ago
bfef18c
PyType_GenericAlloc is inherited from object.
by Raymond Hettinger
· 21 years ago
9a9c436
PyObject_IsTrue() can return an error condition.
by Raymond Hettinger
· 22 years ago
954bcf5
Minor source formatting fixes.
by Raymond Hettinger
· 22 years ago
fb8595d
Patch #661760: Cygwin auto-import module patch
by Jason Tishler
· 22 years ago
13af114
Try to get compilation working for cygwin
by Neal Norwitz
· 22 years ago
40f6217
SF patch 658251: Install a C implementation of the Mersenne Twister as the
by Raymond Hettinger
· 22 years ago