• Victor Stinner's avatar
    asyncio: sync with Tulip · 47bbea71
    Victor Stinner authored
    * _SelectorTransport constructor: extra parameter is now optional
    * Fix _SelectorDatagramTransport constructor. Only start reading after
      connection_made() has been called.
    * Fix _SelectorSslTransport.close(). Don't call protocol.connection_lost() if
      protocol.connection_made() was not called yet: if the SSL handshake failed or
      is still in progress. The close() method can be called if the creation of the
      connection is cancelled, by a timeout for example.
    47bbea71
test_selector_events.py 62 KB