Issue 2916: urlgrabber.grabber calls setdefaulttimeout (original) (raw)
Issue2916
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) * ![]() |
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 -> closedresolution: not a bugversions: + 3rd party, - Python 2.5 |
2008-07-08 03:39:36 | orsenthil | set | messages: + |
2008-07-03 17:37:13 | facundobatista | set | assignee: facundobatistanosy: + orsenthil, facundobatista |
2008-05-19 15:52:43 | kiilerix | set | type: behavior |
2008-05-19 15:52:10 | kiilerix | create |