- 19 Mar, 2015 22 commits
-
-
Ned Deily authored
-
Ned Deily authored
-
Antoine Pitrou authored
-
Victor Stinner authored
Fix typo: self->fd => fd
-
Victor Stinner authored
read() is interrupted by a signal. dev_urandom_python() now calls _Py_read() helper instead of calling directly read().
-
Victor Stinner authored
by a signal (EINTR). Modify devpoll_flush() to use _Py_write() instead of calling directly write().
-
Antoine Pitrou authored
-
Victor Stinner authored
opening /dev/urandom.
-
Victor Stinner authored
EINTR error and special cases for Windows. These functions now truncate the length to PY_SSIZE_T_MAX to have a portable and reliable behaviour. For example, read() result is undefined if counter is greater than PY_SSIZE_T_MAX on Linux.
-
Victor Stinner authored
and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define. Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom().
-
Victor Stinner authored
retried with the recomputed delay, except if the signal handler raises an exception (PEP 475). Modify also test_signal to use a monotonic clock instead of the system clock.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Jan 30 of previous year. Based on patch by Jim Carroll.
-
Serhiy Storchaka authored
Jan 30 of previous year. Based on patch by Jim Carroll.
-
Serhiy Storchaka authored
NamedTemporaryFile instance. Patch by Bohuslav Kabrda.
-
Serhiy Storchaka authored
NamedTemporaryFile instance. Patch by Bohuslav Kabrda.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Ethan Furman authored
-
Ethan Furman authored
add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method
-
Ethan Furman authored
add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method
-
- 18 Mar, 2015 18 commits
-
-
Antoine Pitrou authored
Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable.
-
Antoine Pitrou authored
Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
broken after converting instance attributes to properies in issue #2211.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
available, syscall introduced in the Linux kernel 3.17. It is more reliable and more secure, because it avoids the need of a file descriptor and waits until the kernel has enough entropy.
-
Victor Stinner authored
-
Victor Stinner authored
Use a Python source file (linecache.__file__) instead of /etc/passwd. Modify also linecache docstrings to clarify the linecache is written to cache Python source files, not any text files.
-
Victor Stinner authored
-
Victor Stinner authored
source files, even if "it works" with other text files encoded to UTF-8.
-
Victor Stinner authored
Use None as a sentinel to stop a worker.
-
Victor Stinner authored
-