AttributeError: 'module' object has no attribute 'setdefaulttimeout'
Steve Holden
steve at holdenweb.com
Thu Mar 31 13:27:17 EST 2005
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
tiemoutsocket module, which I used in several applications until 2.3
integrated the functionality.
regards
Steve
--
Steve Holden +1 703 861 4237 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
More information about the Python-list
mailing list