This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients Carlos.Nepomuceno, collinwinter, giampaolo.rodola, josiahcarlson, stutzbach, tshepang
Date 2013-05-16.10:47:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368701239.3.0.458147465696.issue17992@psf.upfronthosting.co.za>
In-reply-to
Content
Nosying Collin Winter as per rev 531d3023b48b.
In the meantime you can try to specify a timeout for join() as in:

diff --git a/Lib/test/test_asynchat.py b/Lib/test/test_asynchat.py
--- a/Lib/test/test_asynchat.py
+++ b/Lib/test/test_asynchat.py
@@ -223,7 +223,7 @@
         # where the server echoes all of its data before we can check that it
         # got any down below.
         s.start_resend_event.set()
-        s.join()
+        s.join(timeout=2.0)

That should at least fix the hanging, but I guess it will produce another error later on.
History
Date User Action Args
2013-05-16 10:47:19giampaolo.rodolasetrecipients: + giampaolo.rodola, collinwinter, josiahcarlson, stutzbach, tshepang, Carlos.Nepomuceno
2013-05-16 10:47:19giampaolo.rodolasetmessageid: <1368701239.3.0.458147465696.issue17992@psf.upfronthosting.co.za>
2013-05-16 10:47:19giampaolo.rodolalinkissue17992 messages
2013-05-16 10:47:19giampaolo.rodolacreate