urllib2 urlopen takes too much time

Aahz aahz at pythoncraft.com
Wed Jun 24 05:09:30 CEST 2009

In article <mailman.1916.1245600033.8015.python-list at python.org>,
=?UTF-8?Q?Filip_Gruszczy=C5=84ski?=  <gruszczy at gmail.com> wrote:
>I have encountered a performance problem using suds, which was traced
>down to _socket.recv. I am calling some web services and each of them
>uses about 0.2 sec and 99% of this time is spent on urllib2.urlopen,
>while the rest of the call is finished in milliseconds. 

What happens if you use urlopen() by itself?
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"as long as we like the same operating system, things are cool." --piranha

More information about the Python-list mailing list