Re: [Python-Dev] [Python-3000] test_asyncore fails intermittently on Darwin
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@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@gmail.com> _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/alan.mcintyre%40gmail.com
participants (1)
-
Alan McIntyre