Victor Stinner 10550cdb8a Issue #23834: Simplify timeout handling
* Use the new _PyTime_FromSeconds() function to set the timeout to -1 second
  for socket.settimeout(None). It avoids a special case in internal_select()
  because of a rounding issue: -1 nanosecond is rounded to 0 millisecond which
  means non-blocking, instead of blocking.
* Check if the interval the negative in sock_call_ex() instead of doing the
  check in internal_select(). sock_call_ex() remembers if the socket has a
  timeout or not, which avoids a race condition if the timeout is modified in a
  different thread.
2015-04-03 13:22:27 +02:00
..
2014-02-04 10:12:18 -05:00
2014-10-28 22:24:46 +01:00
2015-03-18 16:05:32 +01:00
2014-10-02 08:35:31 +02:00
2014-08-22 14:01:56 -04:00
2014-07-06 13:04:20 -07:00
2015-03-02 11:18:40 -05:00
2014-07-06 13:04:20 -07:00

Source files for standard library extension modules,
and former extension modules that are now builtin modules.