- 02 Nis, 2015 10 kayıt (commit)
-
-
Victor Stinner yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Patch by Martin Panter.
-
Serhiy Storchaka yazdı
Patch by Martin Panter.
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
Patch by Cédric Krier.
-
Victor Stinner yazdı
-
- 01 Nis, 2015 23 kayıt (commit)
-
-
Victor Stinner yazdı
sock_send_impl()
-
Victor Stinner yazdı
The BEGIN_SELECT_LOOP and END_SELECT_LOOP macros of socketmodule.c don't handle EINTR. Functions using these macros use an inner loop to handle EINTR, but they don't recompute the timeout. This changes replaces the two macros with a new sock_call() function which takes a function as a parameter. sock_call() recomputes the timeout, handle false positive and handle EINTR.
-
Victor Stinner yazdı
to its signal handlers. Use also _Py_write_noraise() instead of write() to retry write() if it is interrupted by a signal (fail with EINTR). faulthandler.dump_traceback() also calls PyErr_CheckSignals() to call the Python signal handler if a signal was received.
-
Victor Stinner yazdı
and _Py_DumpTracebackThreads(). Document also these functions to explain that the caller is responsible to call PyErr_CheckSignals().
-
Victor Stinner yazdı
_posixsubprocess
-
Victor Stinner yazdı
signalmodule.c
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Helper to write() which retries write() if it is interrupted by a signal (fails with EINTR).
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
_PyTime_AsMicroseconds() rounding. Add also unit tests.
-
Benjamin Peterson yazdı
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
MemoryError.
-
Serhiy Storchaka yazdı
MemoryError.
-
R David Murray yazdı
-
Serhiy Storchaka yazdı
multiple threads.
-
Serhiy Storchaka yazdı
multiple threads.
-
Victor Stinner yazdı
Windows uses WSAEINTR error code, not EINTR, for socket functions.
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
Patch by Martin Panter.
-
- 31 Mar, 2015 7 kayıt (commit)
-
-
Victor Stinner yazdı
Call PyErr_CheckSignals() immediatly if connect() or select() fails with EINTR in internal_connect(). Refactor also the code to limit indentaton and make it more readable.
-
Victor Stinner yazdı
Call PyErr_CheckSignals() if connect(), select() or getsockopt() failed with EINTR.
-
Victor Stinner yazdı
On Windows, it looks like using the C type socklen_t for getsockopt() (instead of int) is fine, it was already used in socket.getsockopt().
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
On Windows, internal_connect() now reuses internal_connect_select() and always calls getsockopt().
-
Victor Stinner yazdı
The function now returns the error code instead of using the global errno (POSIX) or WSAGetLastError() (Windows). internal_connect() now returns errno if getsockopt() fails.
-
Victor Stinner yazdı
-