[issue32804] urllib.retrieve documentation doesn't mention context parameter

New submission from Julian O <pythontracker@somethinkodd.com>: In 2014, urlretrieve was changed to accept a context parameter to configure, for example, SSL settings. Ref: https://github.com/python/cpython/commit/b206473ef8a7abe9abf5ab8776ea3bcb90a... 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 ---------- assignee: docs@python components: Documentation messages: 311861 nosy: docs@python, julian_o priority: normal severity: normal status: open title: urllib.retrieve documentation doesn't mention context parameter versions: Python 2.7 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32804> _______________________________________

Stéphane Wirtel <stephane@wirtel.be> added the comment: effectively, there is no documentation about this new parameter. ---------- nosy: +matrixise _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32804> _______________________________________

Change by Stéphane Wirtel <stephane@wirtel.be>: ---------- keywords: +easy _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32804> _______________________________________

Change by Terry J. Reedy <tjreedy@udel.edu>: ---------- nosy: +orsenthil _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32804> _______________________________________

Change by Lysandros Nikolaou <lisandrosnik@gmail.com>: ---------- keywords: +patch pull_requests: +9521 stage: -> patch review _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32804> _______________________________________

Xiang Zhang <angwerzx@126.com> added the comment: 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/aa39c1ab6de6d3fb0204741efdde9b7eed2... ---------- nosy: +xiang.zhang _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32804> _______________________________________

Change by Xiang Zhang <angwerzx@126.com>: ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32804> _______________________________________
participants (5)
-
Julian O
-
Lysandros Nikolaou
-
Stéphane Wirtel
-
Terry J. Reedy
-
Xiang Zhang