{"action":"created","issue":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/2660","labels_url":"https://api.github.com/repos/kennethreitz/requests/issues/2660/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/requests/issues/2660/comments","events_url":"https://api.github.com/repos/kennethreitz/requests/issues/2660/events","html_url":"https://github.com/kennethreitz/requests/issues/2660","id":92899058,"number":2660,"title":"HTTPAdapter timeout type error","user":{"login":"gbishop","id":198012,"avatar_url":"https://avatars.githubusercontent.com/u/198012?v=3","gravatar_id":"","url":"https://api.github.com/users/gbishop","html_url":"https://github.com/gbishop","followers_url":"https://api.github.com/users/gbishop/followers","following_url":"https://api.github.com/users/gbishop/following{/other_user}","gists_url":"https://api.github.com/users/gbishop/gists{/gist_id}","starred_url":"https://api.github.com/users/gbishop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbishop/subscriptions","organizations_url":"https://api.github.com/users/gbishop/orgs","repos_url":"https://api.github.com/users/gbishop/repos","events_url":"https://api.github.com/users/gbishop/events{/privacy}","received_events_url":"https://api.github.com/users/gbishop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-03T15:44:22Z","updated_at":"2015-07-03T16:05:25Z","closed_at":null,"body":"At https://github.com/kennethreitz/requests/blob/master/requests/adapters.py#L378 you call\r\n\r\nconn._get_conn(timeout=timeout)\r\n\r\nThe timeout object you pass is a Timeout but that internal method in urllib3 expects a float. This results in a type error about float + Timeout. \r\n\r\nA float works there but I wasn't sure which to use."},"comment":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/comments/118382859","html_url":"https://github.com/kennethreitz/requests/issues/2660#issuecomment-118382859","issue_url":"https://api.github.com/repos/kennethreitz/requests/issues/2660","id":118382859,"user":{"login":"Lukasa","id":1382556,"avatar_url":"https://avatars.githubusercontent.com/u/1382556?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukasa","html_url":"https://github.com/Lukasa","followers_url":"https://api.github.com/users/Lukasa/followers","following_url":"https://api.github.com/users/Lukasa/following{/other_user}","gists_url":"https://api.github.com/users/Lukasa/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukasa/subscriptions","organizations_url":"https://api.github.com/users/Lukasa/orgs","repos_url":"https://api.github.com/users/Lukasa/repos","events_url":"https://api.github.com/users/Lukasa/events{/privacy}","received_events_url":"https://api.github.com/users/Lukasa/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T16:05:25Z","updated_at":"2015-07-03T16:05:25Z","body":"See #2661 for what I think is a fix for this."}}