I have a program which uses "feedparser". It occasionally hangs when the network connection has been lost, and remains hung after the network connection is restored.
My program calls d = feedparser.parse(self.url,etag=self.etag,modified=self.modified) If d is None, it raises an exception, and I see that happen when the machine loses its WiFi connection. My program then waits about a minute, then retries. On the retry, the same call is made, but it never returns, even after a full day. The WiFi connection is back up; other connections work. But "feedparser" is neither failing nor retrying, just hanging. Note that this happens on the SECOND failure, not the first. Looking at the code, "feedparser" calls urllib2.opener for the open. There's some deprecated timeout-related code in feedparser, which I am not calling. Running Python 2.6.3.7 (ActiveState) on Linux, on an EeePC 2G Surf. John Nagle -- http://mail.python.org/mailman/listinfo/python-list