[Python-bugs-list] [ python-Bugs-693580 ] socket module has no default timeout

SourceForge.net noreply@sourceforge.net
Thu, 27 Feb 2003 09:49:11 -0800


Bugs item #693580, was opened at 2003-02-26 07:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=693580&group_id=5470

Category: None
Group: None
>Status: Deleted
>Resolution: Invalid
>Priority: 1
Submitted By: Steve Holden (holdenweb)
Assigned to: Nobody/Anonymous (nobody)
Summary: socket module has no default timeout

Initial Comment:
Python 2.3a2.

The new socket module is a great implementation of Tim 
O'Malley's original concept. From the documentation, 
however, it appears to be missing one feature.

With the timeoutsocket module one could call 
the "setdefaulttimeout()" function to establish a timeout 
for any socket created without explicit knowledge of the 
timeout features. This means that code using ftplib, 
smtplib and friends could be readily conditioned to use 
timeouts without modification to the client modules.


----------------------------------------------------------------------

>Comment By: Steve Holden (holdenweb)
Date: 2003-02-27 12:49

Message:
Logged In: YES 
user_id=88157

Sorry, Geoff Talvolva points out I was talking through the top 
of my head.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=693580&group_id=5470