[issue6520] urllib.urlopen does not have timeout parameter where as urllib2.urlopen has

Senthil report at bugs.python.org
Sun Jul 19 04:52:21 CEST 2009


New submission from Senthil <orsenthil at gmail.com>:

Just noticed this while fixing another bug issue5102. 
Need to figure out why urllib.urlopen does not have timeout in the first
account and if it was due to some overlook, then:

1) add timeout parameter to urllib.urlopen
2) propage it across redirects.

It may not have high implications in Py2.x, but might lead us to
problems in future in Py3.x where urlopen is a combined function.

----------
assignee: orsenthil
components: Library (Lib)
keywords: easy
messages: 90703
nosy: orsenthil
priority: normal
severity: normal
status: open
title: urllib.urlopen does not have timeout parameter where as urllib2.urlopen has
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6520>
_______________________________________


More information about the Python-bugs-list mailing list