1. 25 Aug, 2014 4 commits
    • Victor Stinner's avatar
      Issue #22063: Fix asyncio documentation of socket and pipe operations regarding · d84fd73d
      Victor Stinner authored
      to non-blocking mode. The non-blocking mode does not matter when using a
      ProactorEventLoop, only for SelectorEventLoop.
      d84fd73d
    • Victor Stinner's avatar
    • Victor Stinner's avatar
      asyncio: sync with Tulip · b261475a
      Victor Stinner authored
      * PipeServer.close() now cancels the "accept pipe" future which cancels the
        overlapped operation.
      * Fix _SelectorTransport.__repr__() if the transport was closed
      * Fix debug log in BaseEventLoop.create_connection(): get the socket object
        from the transport because SSL transport closes the old socket and creates a
        new SSL socket object. Remove also the _SelectorSslTransport._rawsock
        attribute: it contained the closed socket (not very useful) and it was not
        used.
      * Issue #22063: socket operations (sock_recv, sock_sendall, sock_connect,
        sock_accept) of the proactor event loop don't raise an exception in debug
        mode if the socket are in blocking mode. Overlapped operations also work on
        blocking sockets.
      * Fix unit tests in debug mode: mock a non-blocking socket for socket
        operations which now raise an exception if the socket is blocking.
      * _fatal_error() method of _UnixReadPipeTransport and _UnixWritePipeTransport
        now log all exceptions in debug mode
      * Don't log expected errors in unit tests
      * Tulip issue 200: _WaitHandleFuture._unregister_wait() now catchs and logs
        exceptions.
      * Tulip issue 200: Log errors in debug mode instead of simply ignoring them.
      b261475a
    • Victor Stinner's avatar
      asyncio: update the doc · d71dcbb0
      Victor Stinner authored
      * dev: mention that the logging must be configured at DEBUG level
      * streams: drain() has no more a strange return value, it's just
        a standard coroutine
      d71dcbb0
  2. 24 Aug, 2014 6 commits
  3. 23 Aug, 2014 4 commits
  4. 22 Aug, 2014 6 commits
  5. 20 Aug, 2014 1 commit
  6. 19 Aug, 2014 4 commits
  7. 18 Aug, 2014 2 commits
  8. 17 Aug, 2014 5 commits
  9. 16 Aug, 2014 4 commits
  10. 15 Aug, 2014 4 commits