1. 02 Apr, 2015 1 commit
    • Victor Stinner's avatar
      Issue #23853: Cleanup _ssl.c · 4e3cfa46
      Victor Stinner authored
      * Rename check_socket_and_wait_for_timeout() to PySSL_select()
      * PySSL_select() is now clearly splitted betwen poll() and select()
      * Add empty lines for readability
      4e3cfa46
  2. 03 Apr, 2015 4 commits
    • Victor Stinner's avatar
      Issue #23834: Simplify timeout handling · 10550cdb
      Victor Stinner authored
      * 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.
      10550cdb
    • Victor Stinner's avatar
      Issue #22117: Add a new _PyTime_FromSeconds() function · 13019fde
      Victor Stinner authored
      Fix also _Py_InitializeEx_Private(): initialize time before initializing
      import, import_init() uses the _PyTime API (for thread locks).
      13019fde
    • Victor Stinner's avatar
      Merge 3.4 (test_nntplib) · 21dfffa2
      Victor Stinner authored
      21dfffa2
    • Victor Stinner's avatar
      Issue #22351: Fix test_nntplib if the ssl module is missing · 8c9bba07
      Victor Stinner authored
      @unittest.skipUnless(ssl, '...') doesn't work because the class body uses the
      nntplib.NNTP_SSL attribute which doesn't exist.
      8c9bba07
  3. 02 Apr, 2015 32 commits
  4. 01 Apr, 2015 3 commits