{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/2146","repository_url":"https://api.github.com/repos/nim-lang/Nim","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/2146/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/2146/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/2146/events","html_url":"https://github.com/nim-lang/Nim/issues/2146","id":57787137,"number":2146,"title":"Feature request: unbuffered I/O","user":{"login":"abudden","id":670607,"avatar_url":"https://avatars.githubusercontent.com/u/670607?v=3","gravatar_id":"","url":"https://api.github.com/users/abudden","html_url":"https://github.com/abudden","followers_url":"https://api.github.com/users/abudden/followers","following_url":"https://api.github.com/users/abudden/following{/other_user}","gists_url":"https://api.github.com/users/abudden/gists{/gist_id}","starred_url":"https://api.github.com/users/abudden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abudden/subscriptions","organizations_url":"https://api.github.com/users/abudden/orgs","repos_url":"https://api.github.com/users/abudden/repos","events_url":"https://api.github.com/users/abudden/events{/privacy}","received_events_url":"https://api.github.com/users/abudden/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nim-lang/Nim/labels/Feature","name":"Feature","color":"0080f0"},{"url":"https://api.github.com/repos/nim-lang/Nim/labels/Stdlib","name":"Stdlib","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-16T10:25:37Z","updated_at":"2016-06-07T15:27:50Z","closed_at":null,"body":"Python offers a command-line argument `-u` that offers an unbuffered version of stdio.  This is extremely useful in some circumstances.  Would it be possible to add this feature to Nim such that the compiled executables use unbuffered stdio?"},"comment":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/comments/224317259","html_url":"https://github.com/nim-lang/Nim/issues/2146#issuecomment-224317259","issue_url":"https://api.github.com/repos/nim-lang/Nim/issues/2146","id":224317259,"user":{"login":"abudden","id":670607,"avatar_url":"https://avatars.githubusercontent.com/u/670607?v=3","gravatar_id":"","url":"https://api.github.com/users/abudden","html_url":"https://github.com/abudden","followers_url":"https://api.github.com/users/abudden/followers","following_url":"https://api.github.com/users/abudden/following{/other_user}","gists_url":"https://api.github.com/users/abudden/gists{/gist_id}","starred_url":"https://api.github.com/users/abudden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abudden/subscriptions","organizations_url":"https://api.github.com/users/abudden/orgs","repos_url":"https://api.github.com/users/abudden/repos","events_url":"https://api.github.com/users/abudden/events{/privacy}","received_events_url":"https://api.github.com/users/abudden/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T15:27:50Z","updated_at":"2016-06-07T15:27:50Z","body":"> What would I pass in to `open` to make it re-open `stdout` and make `echo` unbuffered?\r\n\r\nActually, that was a bad example given that `echo` automatically does `flushFile(stdout)`.  A better example would have been using `write(stdout, \"Some text\")` or similar."}}
{"actor":{"display_login":"abudden"}}