{"action":"created","issue":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/69","labels_url":"https://api.github.com/repos/scopatz/xonsh/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/scopatz/xonsh/issues/69/comments","events_url":"https://api.github.com/repos/scopatz/xonsh/issues/69/events","html_url":"https://github.com/scopatz/xonsh/issues/69","id":62213439,"number":69,"title":"More intelligent intermix between python and bash pipes","user":{"login":"k-bx","id":107968,"avatar_url":"https://avatars.githubusercontent.com/u/107968?v=3","gravatar_id":"","url":"https://api.github.com/users/k-bx","html_url":"https://github.com/k-bx","followers_url":"https://api.github.com/users/k-bx/followers","following_url":"https://api.github.com/users/k-bx/following{/other_user}","gists_url":"https://api.github.com/users/k-bx/gists{/gist_id}","starred_url":"https://api.github.com/users/k-bx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-bx/subscriptions","organizations_url":"https://api.github.com/users/k-bx/orgs","repos_url":"https://api.github.com/users/k-bx/repos","events_url":"https://api.github.com/users/k-bx/events{/privacy}","received_events_url":"https://api.github.com/users/k-bx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scopatz/xonsh/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scopatz/xonsh/milestones/1","html_url":"https://github.com/scopatz/xonsh/milestones/v0.2","labels_url":"https://api.github.com/repos/scopatz/xonsh/milestones/1/labels","id":1013181,"number":1,"title":"v0.2","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":50,"state":"open","created_at":"2015-03-09T18:29:10Z","updated_at":"2015-03-17T04:08:29Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-03-16T21:19:24Z","updated_at":"2015-03-17T06:44:13Z","closed_at":null,"body":"I'd like this example to not hang, if you know what I mean:\r\n\r\n```\r\n$ print(\"2\") | grep \"2\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/comments/82154827","html_url":"https://github.com/scopatz/xonsh/issues/69#issuecomment-82154827","issue_url":"https://api.github.com/repos/scopatz/xonsh/issues/69","id":82154827,"user":{"login":"k-bx","id":107968,"avatar_url":"https://avatars.githubusercontent.com/u/107968?v=3","gravatar_id":"","url":"https://api.github.com/users/k-bx","html_url":"https://github.com/k-bx","followers_url":"https://api.github.com/users/k-bx/followers","following_url":"https://api.github.com/users/k-bx/following{/other_user}","gists_url":"https://api.github.com/users/k-bx/gists{/gist_id}","starred_url":"https://api.github.com/users/k-bx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-bx/subscriptions","organizations_url":"https://api.github.com/users/k-bx/orgs","repos_url":"https://api.github.com/users/k-bx/repos","events_url":"https://api.github.com/users/k-bx/events{/privacy}","received_events_url":"https://api.github.com/users/k-bx/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T06:44:13Z","updated_at":"2015-03-17T06:44:13Z","body":"@scopatz yeah, probably would be best to add:\r\n\r\n- error-message that one of pipes is not valid\r\n- suggest putting it inside some wrapper like `to_pipe = lambda f: lambda args, stdin: f()`"}}