- 01 Apr, 2015 17 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
Helper to write() which retries write() if it is interrupted by a signal (fails with EINTR).
-
Benjamin Peterson authored
-
Victor Stinner authored
_PyTime_AsMicroseconds() rounding. Add also unit tests.
-
Benjamin Peterson authored
-
Raymond Hettinger authored
-
Victor Stinner authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
MemoryError.
-
Serhiy Storchaka authored
MemoryError.
-
R David Murray authored
-
Serhiy Storchaka authored
multiple threads.
-
Serhiy Storchaka authored
multiple threads.
-
Victor Stinner authored
Windows uses WSAEINTR error code, not EINTR, for socket functions.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
Patch by Martin Panter.
-
- 31 Mar, 2015 23 commits
-
-
Victor Stinner authored
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 authored
Call PyErr_CheckSignals() if connect(), select() or getsockopt() failed with EINTR.
-
Victor Stinner authored
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 authored
-
Victor Stinner authored
On Windows, internal_connect() now reuses internal_connect_select() and always calls getsockopt().
-
Victor Stinner authored
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 authored
-
Serhiy Storchaka authored
protocols.
-
Serhiy Storchaka authored
Added WindowsError to compatibility mappings.
-
Serhiy Storchaka authored
Added WindowsError to compatibility mappings.
-
Serhiy Storchaka authored
Based on patch by Rafik Draoui.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* Inline internal_select() function * Rename internal_select_ex() internal_select()
-
Victor Stinner authored
-
Serhiy Storchaka authored
or nested classes) now are supported with pickle protocols < 4.
-
Serhiy Storchaka authored
Tests by Jessica McKellar.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings.
-
Serhiy Storchaka authored
Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings.
-
Victor Stinner authored
Selector.select() is now retried with the recomputed timeout when interrupted by a signal. Write an unit test with a signal handler raising an exception, and a unit with a signal handler which does not raise an exception (it does nothing).
-
Victor Stinner authored
-