[Python-3000] test_asyncore fails intermittently on Darwin

Hasan Diwan hasan.diwan at gmail.com
Mon Jul 30 08:40:29 CEST 2007


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>


More information about the Python-3000 mailing list