New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporate timeoutsocket.py into core #35084
Comments
I was responding to a question on c.l.py earlier about
Here's how you use it: import timeoutsocket
import httplib
timeoutsocket.setDefaultSocketTimeout(20)
# at this point any sockets created
# will have a 20-second timeout
h = httplib.HTTP("www.python.org") Pretty simple, huh? Skip |
Logged In: YES I like this idea, but don't think this exact implementation When integrated into the standard library, it should Patch anyone? |
Logged In: YES Skip, want to work on this? If not, please unassign it. |
Logged In: YES While the offer is tempting, I almost certainly don't |
Logged In: YES I'd be interested in integrating the two modules if no one I'm a little unclear on where you think the best integration |
Logged In: YES Bernard Yue is considering to tackle this. See the thread in |
Logged In: YES Check the python-dev mailing list archive for the past few |
Logged In: YES For the record, I have a patch. I'm coordinating with |
Logged In: YES A patch for this now exists in the SF tracker: bpo-555085. |
Logged In: YES I think this is done and can be closed now, but Guido's been |
Logged In: YES Closing. Further discussion at the corresponding patch. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: