{"action":"created","issue":{"url":"https://api.github.com/repos/dabeaz/curio/issues/110","repository_url":"https://api.github.com/repos/dabeaz/curio","labels_url":"https://api.github.com/repos/dabeaz/curio/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/dabeaz/curio/issues/110/comments","events_url":"https://api.github.com/repos/dabeaz/curio/issues/110/events","html_url":"https://github.com/dabeaz/curio/pull/110","id":189219927,"number":110,"title":"Implement zero cost task switch","user":{"login":"ZhukovAlexander","id":2760196,"avatar_url":"https://avatars.githubusercontent.com/u/2760196?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhukovAlexander","html_url":"https://github.com/ZhukovAlexander","followers_url":"https://api.github.com/users/ZhukovAlexander/followers","following_url":"https://api.github.com/users/ZhukovAlexander/following{/other_user}","gists_url":"https://api.github.com/users/ZhukovAlexander/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhukovAlexander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhukovAlexander/subscriptions","organizations_url":"https://api.github.com/users/ZhukovAlexander/orgs","repos_url":"https://api.github.com/users/ZhukovAlexander/repos","events_url":"https://api.github.com/users/ZhukovAlexander/events{/privacy}","received_events_url":"https://api.github.com/users/ZhukovAlexander/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-14T20:39:29Z","updated_at":"2016-11-15T18:39:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dabeaz/curio/pulls/110","html_url":"https://github.com/dabeaz/curio/pull/110","diff_url":"https://github.com/dabeaz/curio/pull/110.diff","patch_url":"https://github.com/dabeaz/curio/pull/110.patch"},"body":"This PR introduces the new switch utility. This should be more convenient to use, that `await sleep(0)`, makes API more semantically correct and also should be faster."},"comment":{"url":"https://api.github.com/repos/dabeaz/curio/issues/comments/260727735","html_url":"https://github.com/dabeaz/curio/pull/110#issuecomment-260727735","issue_url":"https://api.github.com/repos/dabeaz/curio/issues/110","id":260727735,"user":{"login":"ZhukovAlexander","id":2760196,"avatar_url":"https://avatars.githubusercontent.com/u/2760196?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhukovAlexander","html_url":"https://github.com/ZhukovAlexander","followers_url":"https://api.github.com/users/ZhukovAlexander/followers","following_url":"https://api.github.com/users/ZhukovAlexander/following{/other_user}","gists_url":"https://api.github.com/users/ZhukovAlexander/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhukovAlexander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhukovAlexander/subscriptions","organizations_url":"https://api.github.com/users/ZhukovAlexander/orgs","repos_url":"https://api.github.com/users/ZhukovAlexander/repos","events_url":"https://api.github.com/users/ZhukovAlexander/events{/privacy}","received_events_url":"https://api.github.com/users/ZhukovAlexander/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T18:39:47Z","updated_at":"2016-11-15T18:39:47Z","body":"Ah, ok, I missed this little detail. FWIW, [gevent uses the same approach](https://github.com/gevent/gevent/blob/master/src/gevent/hub.py#L166). Anyway, while digging into this stuff, I realized that we have a more [interesting issue](https://github.com/dabeaz/curio/issues/112). "}}
{"actor":{"display_login":"ZhukovAlexander"}}