• Victor Stinner's avatar
    asyncio: sync with Tulip · 1b9763d0
    Victor Stinner yazdı
    * Fix a race condition in BaseSubprocessTransport._try_finish().
    
      If the process exited before the _post_init() method was called, scheduling
      the call to _call_connection_lost() with call_soon() is wrong:
      connection_made() must be called before connection_lost().
    
      Reuse the BaseSubprocessTransport._call() method to schedule the call to
      _call_connection_lost() to ensure that connection_made() and
      connection_lost() are called in the correct order.
    
    * Add repr(PipeHandle)
    
    * Fix typo
    1b9763d0
base_subprocess.py 5.98 KB