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.

classification
Title: urllib.retrieve documentation doesn't mention context parameter
Type: Stage: resolved
Components: Documentation Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, julian_o, matrixise, orsenthil, xiang.zhang
Priority: normal Keywords: easy, patch

Created on 2018-02-09 01:33 by julian_o, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 10203 merged lys.nikolaou, 2018-10-28 22:13
Messages (3)
msg311861 - (view) Author: Julian O (julian_o) Date: 2018-02-09 01:33
In 2014, urlretrieve was changed to accept a context parameter to configure, for example, SSL settings.

Ref: https://github.com/python/cpython/commit/b206473ef8a7abe9abf5ab8776ea3bcb90adc747

However, 2.7.14 documentation does not mention this parameter.

> urllib.urlretrieve(url[, filename[, reporthook[, data]]])

Ref: https://docs.python.org/2/library/urllib.html
msg311867 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2018-02-09 05:54
effectively, there is no documentation about this new parameter.
msg329032 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2018-11-01 01:49
New changeset aa39c1ab6de6d3fb0204741efdde9b7eed25b093 by Xiang Zhang (Lysandros Nikolaou) in branch '2.7':
[2.7] bpo-32804: Include the context parameter in urlretrieve documentation (GH-10203)
https://github.com/python/cpython/commit/aa39c1ab6de6d3fb0204741efdde9b7eed25b093
History
Date User Action Args
2022-04-11 14:58:57adminsetgithub: 76985
2018-11-01 01:49:45xiang.zhangsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-11-01 01:49:13xiang.zhangsetnosy: + xiang.zhang
messages: + msg329032
2018-10-28 22:13:42lys.nikolaousetkeywords: + patch
stage: patch review
pull_requests: + pull_request9521
2018-02-10 04:11:42terry.reedysetnosy: + orsenthil
2018-02-09 05:54:58matrixisesetkeywords: + easy
2018-02-09 05:54:37matrixisesetnosy: + matrixise
messages: + msg311867
2018-02-09 01:33:21julian_ocreate