Anyone out there know about Python websockets?
Specifically, how the hell I detect a disconnection without trying to read from it - causing an exception? 
Just seems like a weird model - that’s what I’m doing though wip:https://github.com/slackapi/python-slackclient/pull/297/files …
-
-
"Try to do the thing and handle the exception" seems p normal Python convention to me, but it's been a minute since I've done anything with sockets.
-
Aha, found it -- not a websocket, but yeah, "try until exception" is totally what I did: https://github.com/relsqui/network_protocols/blob/master/tcp/tcp_server.py …
Fin de la conversation
Nouvelle conversation -
Le chargement semble prendre du temps.
Twitter est peut-être en surcapacité ou rencontre momentanément un incident. Réessayez ou rendez-vous sur la page Twitter Status pour plus d'informations.