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

Peter Otten __peter__ at web.de
Thu Mar 31 17:29:48 CEST 2005


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





More information about the Python-list mailing list