8 Commits (a5259fb05d03f4871837c14fed704541a20896c0)

Author SHA1 Message Date
Victor Stinner 6c785c0ebd
bpo-34170: Add Python/coreconfig.c for _PyCoreConfig (GH-8607) 8 years ago
Nir Soffer 4484f9dca9 bpo-33021: Release the GIL during fstat() calls (GH-6019) 8 years ago
Victor Stinner 358e5e17a5
bpo-32329: Fix -R option for hash randomization (#4873) 8 years ago
Serhiy Storchaka 4ae06c5337
bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748) 8 years ago
Victor Stinner a7368ac636
bpo-32030: Enhance Py_Main() (#4412) 8 years ago
Victor Stinner f7e5b56c37
bpo-32030: Split Py_Main() into subfunctions (#4399) 8 years ago
Eric Snow 1abcf6700b bpo-22257: Private C-API for core runtime initialization (PEP 432). (#1772) 9 years ago
Eric Snow 6b4be195cd bpo-22257: Small changes for PEP 432. (#1728) 9 years ago
Victor Stinner 035ba5da3e Issue #29157: Prefer getrandom() over getentropy() 9 years ago
Victor Stinner ff558f5aba Issue #29157: Prefer getrandom() over getentropy() 9 years ago
Victor Stinner b27df6faa5 Issue #29157: enhance py_getrandom() documentation 9 years ago
Victor Stinner de2f1ea124 py_getentropy() now supports ENOSYS, EPERM & EINTR 9 years ago
Victor Stinner 2f7964393d Issue #29157: getrandom() is now preferred over getentropy() 9 years ago
Victor Stinner a49a2078e8 Issue #29157: Simplify dev_urandom() 9 years ago
Victor Stinner dcdb60e4b3 Issue #29157: dev_urandom() now calls py_getentropy() 9 years ago
Benjamin Peterson 493ac1bbe0 only include sys/random.h if it seems like it might have something useful (#29057) 9 years ago
Benjamin Peterson fb2ae15c67 add a specific configure check for sys/random.h (closes #28932) 9 years ago
Ned Deily 7ae4112649 Issue #28676: Prevent missing 'getentropy' declaration warning on macOS. 9 years ago
Victor Stinner 6d8bc46cc0 Catch EPERM error in py_getrandom() 9 years ago
Victor Stinner af59732102 Cleanup random.c 9 years ago
Victor Stinner e66987e626 os.urandom() now blocks on Linux 9 years ago
Victor Stinner 3ee933f1c3 Issue #27776: dev_urandom(raise=0) now closes the file descriptor on error 10 years ago
Victor Stinner 6974cf2c27 Issue #27776: Cleanup random.c 10 years ago
Victor Stinner cecdd9634b Issue #27776: _PyRandom_Init() doesn't call PyErr_CheckSignals() anymore 10 years ago
Victor Stinner 4bad3b622e Issue #27776: Cleanup random.c 10 years ago
Martin Panter d2f87472fe Issue #17596: MINGW: add wincrypt.h in Python/random.c 10 years ago
Victor Stinner ec721f3305 py_getrandom(): use long type for the syscall() result 10 years ago
Victor Stinner c72828ba33 cleanup random.c 10 years ago
Victor Stinner b98a36e8f3 Fix os.urandom() using getrandom() on Linux 10 years ago
Martin Panter 39b1025356 Fix typo and move comment to appropriate condition 10 years ago
Victor Stinner cfb1961f61 py_getrandom(): use char* instead of void* for the destination 10 years ago
Victor Stinner dddf4849ec os.urandom() doesn't block on Linux anymore 10 years ago
Victor Stinner 9d24271d86 Fix os.urandom() on Solaris 11.3 10 years ago
Serhiy Storchaka fad85aadb0 Issue #25558: Use compile-time asserts. 10 years ago
Victor Stinner 78cc2e8968 Issue #25003: os.urandom() doesn't use getentropy() on Solaris because 10 years ago
Victor Stinner bae2d6203f Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom() 10 years ago
Victor Stinner c51d244fc9 Issue #25171: Fix compilation issue on OpenBSD in random.c 10 years ago
Victor Stinner 3abf44e48f Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom() 10 years ago
Victor Stinner 61d5aab9b9 py_getrandom(): getrandom() *can* return EINTR 11 years ago
Victor Stinner 9aa1331c6f Issue #22585: os.urandom() now releases the GIL when the getentropy() is used 11 years ago
Victor Stinner 79b74aeb20 Issue #22181: os.urandom() now releases the GIL when the getrandom() 11 years ago
Victor Stinner e134a7fe36 Issue #23752: _Py_fstat() is now responsible to raise the Python exception 11 years ago
Victor Stinner c9382eb7ae Issue #23707: On UNIX, os.urandom() now calls the Python signal handler when 11 years ago
Victor Stinner c7cd12da60 Issue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() before 11 years ago
Victor Stinner 9eb57c5fa5 Issue #22181: The availability of the getrandom() is now checked in configure, 11 years ago
Victor Stinner 59f7fb29ec Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if 11 years ago
Victor Stinner a555cfcb73 Issue #23694: Enhance _Py_open(), it now raises exceptions 11 years ago
Steve Dower f2f373f593 Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on Windows. 11 years ago
Victor Stinner fe02e39029 Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), 11 years ago
Victor Stinner 4d6a3d6c01 Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), 11 years ago