Re: [python-tulip] await process.wait() hangs forever on process created with a new_event_loop

2015-08-09 Thread Guido van Rossum
Wait, why isn't that just a bug that wait() doesn't know the associated loop? It seems the child watcher is only associated with the loop on set_event_loop(), which in your example doesn't get called (and it shouldn't need to be called). I've reproduced your bug; please file a bug per Victor's

[python-tulip] Customizing Server.close() and wait_closed()

2015-08-09 Thread Aymeric Augustin
Hello, I’m maintaining a library for building websocket servers (mainly). Before shutting down, the server should perform a closing handshake on open connections. I assume many other protocols with long-lived connections have similar requirements. The most natural solution would to inherit