[issue18543] urllib.parse.urlopen shouldn't ignore installed opener when called with any ca* argument

Alecz report at bugs.python.org
Thu Jul 24 22:46:47 CEST 2014


Alecz added the comment:

I just want to point out that the documentation states that an opener can be used with urlopen:

 urllib.request.install_opener(opener)

    Install an OpenerDirector instance as the default global opener. Installing an opener is only necessary if you want urlopen to use that opener; 

Reference:
https://docs.python.org/3/library/urllib.request.html?highlight=urllib.request#urllib.request.install_opener

Issue 17483 was closed (rejected) because it was considered that a custom opener can be used when opening https links.

----------
nosy: +Alecz
Added file: http://bugs.python.org/file36074/urlopen-explained.py

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


More information about the Python-bugs-list mailing list