New submission from Moritz Sichert: If you pass any of cafile, capath or cadefault to urllib.parse.urlopen it creates a new opener that contains the HTTPSHandler that was according to the ca* arguments. It then uses this new opener to execute the request. If you installed a custom opener with urllib.parse.install_opener it won't be used.
urlopen should either add a HTTPSHandler to the installed opener or not accept any Handler specific arguments at all. ---------- components: Library (Lib) messages: 193640 nosy: moritzs priority: normal severity: normal status: open title: urllib.parse.urlopen shouldn't ignore installed opener when called with any ca* argument type: behavior versions: Python 3.2, Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18543> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com