[Python-3000] test_asyncore fails intermittently on Darwin (original) (raw)
Hasan Diwan hasan.diwan at gmail.com
Mon Jul 30 08:40:29 CEST 2007
- Previous message: [Python-3000] base64 - bytes and strings
- Next message: [Python-3000] test_asyncore fails intermittently on Darwin
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-3000] base64 - bytes and strings
- Next message: [Python-3000] test_asyncore fails intermittently on Darwin
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]