python-trio / trio-websocket

WebSocket client and server implementation for Python Trio
MIT License
70 stars 26 forks source link

strange OS X hang in client send_message() #73

Closed belm0 closed 6 years ago

belm0 commented 6 years ago

I'm trying to migrate my app's client to trio-websocket, but have a test hanging at client send_message(). It appears to be blocking the scheduler, because a trio.fail_after() before the call has no effect. Keyboard interrupt does kill it.

I need to dig into it, but the behavior seems similar to previous mysterious hang issues on OS X. (Last one cleared up by upgrading wsproto.)

belm0 commented 6 years ago

wrong conclusion based on some bad assumptions

my problem is with some bizarre behavior with pytest-trio and async fixtures