{"action":"created","issue":{"url":"https://api.github.com/repos/diegonehab/luasocket/issues/118","repository_url":"https://api.github.com/repos/diegonehab/luasocket","labels_url":"https://api.github.com/repos/diegonehab/luasocket/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/diegonehab/luasocket/issues/118/comments","events_url":"https://api.github.com/repos/diegonehab/luasocket/issues/118/events","html_url":"https://github.com/diegonehab/luasocket/issues/118","id":52095865,"number":118,"title":"socket.select() return value documentation","user":{"login":"okroth","id":10168496,"avatar_url":"https://avatars.githubusercontent.com/u/10168496?v=3","gravatar_id":"","url":"https://api.github.com/users/okroth","html_url":"https://github.com/okroth","followers_url":"https://api.github.com/users/okroth/followers","following_url":"https://api.github.com/users/okroth/following{/other_user}","gists_url":"https://api.github.com/users/okroth/gists{/gist_id}","starred_url":"https://api.github.com/users/okroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okroth/subscriptions","organizations_url":"https://api.github.com/users/okroth/orgs","repos_url":"https://api.github.com/users/okroth/repos","events_url":"https://api.github.com/users/okroth/events{/privacy}","received_events_url":"https://api.github.com/users/okroth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-16T10:28:09Z","updated_at":"2016-03-04T17:40:31Z","closed_at":"2016-03-04T17:40:31Z","body":"According to the reference manual socket.select() returns an error message as third value which shall be \"timeout\" for a timed out select() operation and nil otherwise.\r\nIn fact, select() does return the string \"error\" (up to version 2.0.2) respectively \"select failed\" (version 3.0).\r\nThis discrepancy leads to undesired behaviour with copas.step(), which throws an error when it comes across this.\r\n"},"comment":{"url":"https://api.github.com/repos/diegonehab/luasocket/issues/comments/192375628","html_url":"https://github.com/diegonehab/luasocket/issues/118#issuecomment-192375628","issue_url":"https://api.github.com/repos/diegonehab/luasocket/issues/118","id":192375628,"user":{"login":"diegonehab","id":1635557,"avatar_url":"https://avatars.githubusercontent.com/u/1635557?v=3","gravatar_id":"","url":"https://api.github.com/users/diegonehab","html_url":"https://github.com/diegonehab","followers_url":"https://api.github.com/users/diegonehab/followers","following_url":"https://api.github.com/users/diegonehab/following{/other_user}","gists_url":"https://api.github.com/users/diegonehab/gists{/gist_id}","starred_url":"https://api.github.com/users/diegonehab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegonehab/subscriptions","organizations_url":"https://api.github.com/users/diegonehab/orgs","repos_url":"https://api.github.com/users/diegonehab/repos","events_url":"https://api.github.com/users/diegonehab/events{/privacy}","received_events_url":"https://api.github.com/users/diegonehab/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T17:40:31Z","updated_at":"2016-03-04T17:40:31Z","body":"I fixed the documentation to mention \"select failed\". This is, indeed, an error. The other scenarios were already in the docs."}}