[Python-Dev] 2.1c1: 2nd test_asynchat fails on Solaris 8

Guido van Rossum guido@digicool.com
Sat, 14 Apr 2001 20:47:22 -0500


> SunOS asafoetida 5.8, gcc 2.95.2
> 
> "make test" fails on running test_asynchat.py for the second time. The
> traceback is:
> 
[...]
> 
> Looks like Solaris takes a while to shut sockets down? (This is not a
> slow box, btw.) Or is there an option to not have the socket linger?

I see.  I've added a call to set the SO_REUSEADDR option in the server
thread.  This solves the problem on the SF compile farm Solaris box.

> Also, test_sunaudiodev fails, since setup.py tests only whether the
> platform is a Sun, not whether there is a /dev/audio as well. Servers
> don't have a /dev/audio. This is clearly a minor nit - I did log a bug
> against this some time ago.

Fred fixed this.

Thanks for these reports!

--Guido van Rossum (home page: http://www.python.org/~guido/)