The work-around is not necessary on my machine but still triggers. Maybe you can check for a 32-bit Python build? Or use the platform module to get a more specific Darwin version?
The select() call itself looks fine. Maybe you need a similar select() call in _write_ready()? On Fri, Jan 10, 2014 at 5:01 PM, Victor Stinner <[email protected]> wrote: > 2014/1/10 Victor Stinner <[email protected]>: >> test_events.test_create_server_ssl() hangs on my Mac OS 10.8 and >> OpenIndiana VM which both are using Python 2.6 with OpenSSL 0.9.8. The >> test hangs in _SelectorSslTransport._read_ready(). > > I wrote a workaround for this issue: > https://bitbucket.org/haypo/trollius/commits/710b149117df34d714f8f2906bdd8a5d3f1dcfc3 > > With the workaround, test_events.test_create_server_ssl pass. > > I'm not sure that the workaround is correct, because another > ssl-related test still hangs: test_events.test_create_ssl_connection. > > Victor -- --Guido van Rossum (python.org/~guido)
