You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pattern
Hi. I'm getting socket.timeout errors from pattern.web.URL.download.
I can catch these easily enough, but from the documentation it looks
like pattern.web.URL has its own timeout exception (URLTimeout).
Shouldn't pattern.web be repackaging these?
Thanks,
-Tom
Tom De Smedt
unread,
Mar 27, 2012, 5:02:43 PM3/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pattern
Hi, Tom
It should. Right now it catches urllib2.URLError with a "timed out"
message but not socket.timeout. I'll add it to the latest revision. Do
you perhaps have some code that illustrates when and how
socket.timeout is raised?