{"action":"opened","issue":{"url":"https://api.github.com/repos/googleads/googleads-python-lib/issues/119","repository_url":"https://api.github.com/repos/googleads/googleads-python-lib","labels_url":"https://api.github.com/repos/googleads/googleads-python-lib/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/googleads/googleads-python-lib/issues/119/comments","events_url":"https://api.github.com/repos/googleads/googleads-python-lib/issues/119/events","html_url":"https://github.com/googleads/googleads-python-lib/issues/119","id":156305127,"number":119,"title":"Wrong instantiation of urllib2.HTTPSHandler","user":{"login":"sfontana","id":6084566,"avatar_url":"https://avatars.githubusercontent.com/u/6084566?v=3","gravatar_id":"","url":"https://api.github.com/users/sfontana","html_url":"https://github.com/sfontana","followers_url":"https://api.github.com/users/sfontana/followers","following_url":"https://api.github.com/users/sfontana/following{/other_user}","gists_url":"https://api.github.com/users/sfontana/gists{/gist_id}","starred_url":"https://api.github.com/users/sfontana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfontana/subscriptions","organizations_url":"https://api.github.com/users/sfontana/orgs","repos_url":"https://api.github.com/users/sfontana/repos","events_url":"https://api.github.com/users/sfontana/events{/privacy}","received_events_url":"https://api.github.com/users/sfontana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-23T15:42:46Z","updated_at":"2016-05-23T15:42:46Z","closed_at":null,"body":"Here https://github.com/googleads/googleads-python-lib/commit/5820c980f4733606c93149e62e7a6737785eda6d#diff-16683aec6de1b227110863506f6fb267R380\r\n\r\n`handlers.append(urllib2.HTTPSHandler(self._ssl_context))` is wrong because HTTPSHandler has `debuglevel` as first parameter\r\n\r\n````\r\n class HTTPSHandler(AbstractHTTPHandler):\r\n\r\n        def __init__(self, debuglevel=0, context=None):\r\n            AbstractHTTPHandler.__init__(self, debuglevel)\r\n            self._context = context\r\n````\r\n\r\nplease correct line 380 to `handlers.append(urllib2.HTTPSHandler(context=self._ssl_context))`\r\n\r\nIsn't this a security issue too?\r\n"}}
{"actor":{"display_login":"sfontana"}}