[Python-Dev] [Python-3000] test_asyncore fails intermittently on Darwin

Alan McIntyre alan.mcintyre at gmail.com
Mon Jul 30 12:27:03 CEST 2007


Hasan,

We made a change to bind the server to port 0, so that an unused port
is selected for each test.  I wasn't able to reproduce the failure
after making this change; is the current trunk still failing for you?

Cheers,
Alan

On 7/30/07, Hasan Diwan <hasan.diwan at gmail.com> wrote:
> The issue seems to be in the socket.py close method. It needs to sleep
> socket.SO_REUSEADDR seconds before returning. Yes, it is a simple fix
> in python, but the socket code is C. I found some code in socket.py
> and made the changes. Patch is available at
> http://sourceforge.net/tracker/index.php?func=detail&aid=1763387&group_id=5470&atid=305470
> -- enjoy your week.
> --
> Cheers,
> Hasan Diwan <hasan.diwan at gmail.com>
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/alan.mcintyre%40gmail.com
>


More information about the Python-Dev mailing list