On Fri, 14 Nov 2008 06:35:27 -0800, konstantin wrote:

> Hi,
> 
> I wonder if there is a safe way to download page with urllib2. I've
> constructed following method to catch all possible exceptions.

See here:

http://niallohiggins.com/2008/04/05/python-and-poor-documentation-
urllib2urlopen-exception-layering-problems/

There are probably others as well... I seem to recall getting 
socket.error at some point myself.


-- 
Steven
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to