Steve Holden <[EMAIL PROTECTED]> writes:
> Peter Otten wrote:
> > adrian wrote:
> >
> >>urllib.socket.setdefaulttimeout(self.timeout)
> >>AttributeError: 'module' object has no attribute 'setdefaulttimeout'
> > socket.setdefaulttimeout() was added in Python 2.3. You need to
> > upgrade.
> > Peter
Peter Otten wrote:
adrian wrote:
urllib.socket.setdefaulttimeout(self.timeout)
AttributeError: 'module' object has no attribute 'setdefaulttimeout'
socket.setdefaulttimeout() was added in Python 2.3. You need to upgrade.
Peter
Alternatively you might still be ablet o get Tom O'Malley's
tiemouts
That just means the urllib.socket module doesn't have any function
named setdefaulttimeout in it.
It appears there might be something wrong with your socket module as
mine has it:
py> import urllib
py> f = urllib.socket.setdefaulttimeout
py> f
--
http://mail.python.org/mailman/listinfo/python-
adrian wrote:
> urllib.socket.setdefaulttimeout(self.timeout)
> AttributeError: 'module' object has no attribute 'setdefaulttimeout'
socket.setdefaulttimeout() was added in Python 2.3. You need to upgrade.
Peter
--
http://mail.python.org/mailman/listinfo/python-list