This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年05月19日 15:52 by kiilerix, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg67066 - (view) | Author: Mads Kiilerich (kiilerix) * | Date: 2008年05月19日 15:51 | |
Module docstring says """Setting this option causes urlgrabber to call the settimeout method on the Socket object used for the request.""" But actually it temporarily changes the global default timeout. If other threads are creating sockets in this short timespan they might fail in unexpected ways. There might not be any other easy way to set a timeout. The long term solution should be to provide a way to do it right. A short term workaround it to update the documentation to describe current behaviour. |
|||
| msg69411 - (view) | Author: Senthil Kumaran (orsenthil) * (Python committer) | Date: 2008年07月08日 03:39 | |
This bug is not related to Python Stdlib. There isn't a module by name urlgrabber in Python Stdlib and the author is referring to http://linux.duke.edu/projects/urlgrabber/help/urlgrabber.grabber.html Author should move his suggestion to urlgrabber project. We cannot do anything with socket.settimeout() Please close this issue, Facundo. Thanks, Senthil |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:34 | admin | set | github: 47165 |
| 2008年07月24日 19:14:55 | georg.brandl | set | status: open -> closed resolution: not a bug versions: + 3rd party, - Python 2.5 |
| 2008年07月08日 03:39:36 | orsenthil | set | messages: + msg69411 |
| 2008年07月03日 17:37:13 | facundobatista | set | assignee: facundobatista nosy: + orsenthil, facundobatista |
| 2008年05月19日 15:52:43 | kiilerix | set | type: behavior |
| 2008年05月19日 15:52:10 | kiilerix | create | |