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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18543>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to