Antoine Pitrou added the comment: - opener = build_opener(https_handler) + if _opener is None: + opener = build_opener(https_handler) + else: + opener = _opener + opener.add_handler(https_handler)
Well, isn't it a bad idea to mutate the global opener? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com