Re: AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-04-01 Thread John J. Lee
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

Re: AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-03-31 Thread Steve Holden
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

Re: AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-03-31 Thread infidel
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-

Re: AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-03-31 Thread Peter Otten
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