New submission from John J Lee <[EMAIL PROTECTED]>: 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue2450> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com