[issue2450] urllib2.Request constructor has no timeout parameter

John J Lee report at bugs.python.org
Fri Mar 21 23:58:09 CET 2008


New submission from John J Lee <jjlee at users.sourceforge.net>:

r55792 added timeout support to urllib2.  A timeout parameter was added
to urllib2.OpenerDirector.open(), but there is no corresponding Request
constructor parameter.  timeout is unique in that respect.  Instead,
OpenerDirector.open() sets req.timeout on request instances.  The
parameter "timeout" should behave in the same way as existing parameter
"data".

----------
components: Library (Lib)
messages: 64291
nosy: jjlee
severity: normal
status: open
title: urllib2.Request constructor has no timeout parameter
versions: Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2450>
__________________________________


More information about the Python-bugs-list mailing list