{"action":"created","issue":{"url":"https://api.github.com/repos/Shizmob/pydle/issues/47","repository_url":"https://api.github.com/repos/Shizmob/pydle","labels_url":"https://api.github.com/repos/Shizmob/pydle/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/Shizmob/pydle/issues/47/comments","events_url":"https://api.github.com/repos/Shizmob/pydle/issues/47/events","html_url":"https://github.com/Shizmob/pydle/issues/47","id":180786185,"number":47,"title":"OSError: [WinError 10038] An operation was attempted on something that is not a socket","user":{"login":"johnlage","id":2321456,"avatar_url":"https://avatars.githubusercontent.com/u/2321456?v=3","gravatar_id":"","url":"https://api.github.com/users/johnlage","html_url":"https://github.com/johnlage","followers_url":"https://api.github.com/users/johnlage/followers","following_url":"https://api.github.com/users/johnlage/following{/other_user}","gists_url":"https://api.github.com/users/johnlage/gists{/gist_id}","starred_url":"https://api.github.com/users/johnlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnlage/subscriptions","organizations_url":"https://api.github.com/users/johnlage/orgs","repos_url":"https://api.github.com/users/johnlage/repos","events_url":"https://api.github.com/users/johnlage/events{/privacy}","received_events_url":"https://api.github.com/users/johnlage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-04T01:25:05Z","updated_at":"2016-10-04T02:26:50Z","closed_at":null,"body":"Hello, I'm trying to disconnect a client in a pool (from another client in that pool), when I attempt to do so, I get this error, \"OSError: [WinError 10038] An operation was attempted on something that is not a socket\", presumably because its not removing the socket from the eventloop in time, or something like that. What can I do to prevent this error. (Python 3.5.2, Windows 10) OK, I just tested in Cygwin, and it gives \"ValueError: I/O operation on closed file\". (Python 3.4.3, Cygwin on Windows 10)\r\nEDIT: I should rephrase, it allows the disconnect, and continues running the function, but after the funtion finishes, it errors."},"comment":{"url":"https://api.github.com/repos/Shizmob/pydle/issues/comments/251279758","html_url":"https://github.com/Shizmob/pydle/issues/47#issuecomment-251279758","issue_url":"https://api.github.com/repos/Shizmob/pydle/issues/47","id":251279758,"user":{"login":"johnlage","id":2321456,"avatar_url":"https://avatars.githubusercontent.com/u/2321456?v=3","gravatar_id":"","url":"https://api.github.com/users/johnlage","html_url":"https://github.com/johnlage","followers_url":"https://api.github.com/users/johnlage/followers","following_url":"https://api.github.com/users/johnlage/following{/other_user}","gists_url":"https://api.github.com/users/johnlage/gists{/gist_id}","starred_url":"https://api.github.com/users/johnlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnlage/subscriptions","organizations_url":"https://api.github.com/users/johnlage/orgs","repos_url":"https://api.github.com/users/johnlage/repos","events_url":"https://api.github.com/users/johnlage/events{/privacy}","received_events_url":"https://api.github.com/users/johnlage/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T02:26:50Z","updated_at":"2016-10-04T02:26:50Z","body":"OK, new discovery, It appears that attempting to disconnect any single client from any running pool causes a crash with this error."}}
{"actor":{"display_login":"johnlage"}}