{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/40251444","id":40251444,"diff_hunk":"@@ -80,12 +86,16 @@ or :func:`read` if you wanted to read by character instead::\n Text I/O\n --------\n \n-Note that the write method mentioned above operates on binary streams. In particular, values do not get converted to any canonical text\n+Note that the :func:`write` method mentioned above operates on binary streams.\n+In particular, values do not get converted to any canonical text\n representation but are written out as is::\n \n-    julia> write(STDOUT,0x61)\n+    julia> write(STDOUT,0x61);  # suppress return value 1 with ;\n     a\n \n+Note that ``a`` is written to :const:`STDOUT` by :func:`write` function and ``1`` is the\n+returned by write (since ``0x61`` is one byte).","path":"doc/manual/networking-and-streams.rst","position":43,"original_position":43,"commit_id":"7c5301140f397a8bc8a40355e41821c8284e3025","original_commit_id":"7c5301140f397a8bc8a40355e41821c8284e3025","user":{"login":"hayd","id":1931852,"avatar_url":"https://avatars.githubusercontent.com/u/1931852?v=3","gravatar_id":"","url":"https://api.github.com/users/hayd","html_url":"https://github.com/hayd","followers_url":"https://api.github.com/users/hayd/followers","following_url":"https://api.github.com/users/hayd/following{/other_user}","gists_url":"https://api.github.com/users/hayd/gists{/gist_id}","starred_url":"https://api.github.com/users/hayd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayd/subscriptions","organizations_url":"https://api.github.com/users/hayd/orgs","repos_url":"https://api.github.com/users/hayd/repos","events_url":"https://api.github.com/users/hayd/events{/privacy}","received_events_url":"https://api.github.com/users/hayd/received_events","type":"User","site_admin":false},"body":"eeep. This is rather poorly worded.","created_at":"2015-09-23T20:12:46Z","updated_at":"2015-09-23T20:12:46Z","html_url":"https://github.com/JuliaLang/julia/pull/13288#discussion_r40251444","pull_request_url":"https://api.github.com/repos/JuliaLang/julia/pulls/13288","_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/40251444"},"html":{"href":"https://github.com/JuliaLang/julia/pull/13288#discussion_r40251444"},"pull_request":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/13288"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/13288","id":45825267,"html_url":"https://github.com/JuliaLang/julia/pull/13288","diff_url":"https://github.com/JuliaLang/julia/pull/13288.diff","patch_url":"https://github.com/JuliaLang/julia/pull/13288.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/13288","number":13288,"state":"open","locked":false,"title":"Document that write returns the number of bytes written","user":{"login":"hayd","id":1931852,"avatar_url":"https://avatars.githubusercontent.com/u/1931852?v=3","gravatar_id":"","url":"https://api.github.com/users/hayd","html_url":"https://github.com/hayd","followers_url":"https://api.github.com/users/hayd/followers","following_url":"https://api.github.com/users/hayd/following{/other_user}","gists_url":"https://api.github.com/users/hayd/gists{/gist_id}","starred_url":"https://api.github.com/users/hayd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayd/subscriptions","organizations_url":"https://api.github.com/users/hayd/orgs","repos_url":"https://api.github.com/users/hayd/repos","events_url":"https://api.github.com/users/hayd/events{/privacy}","received_events_url":"https://api.github.com/users/hayd/received_events","type":"User","site_admin":false},"body":"cc #13188 @s2maki ","created_at":"2015-09-23T20:10:49Z","updated_at":"2015-09-23T20:12:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d03d8ea5c9d8efb3345947039ada0950b5e847c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/13288/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/13288/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/13288/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/7c5301140f397a8bc8a40355e41821c8284e3025","head":{"label":"hayd:doc_write","ref":"doc_write","sha":"7c5301140f397a8bc8a40355e41821c8284e3025","user":{"login":"hayd","id":1931852,"avatar_url":"https://avatars.githubusercontent.com/u/1931852?v=3","gravatar_id":"","url":"https://api.github.com/users/hayd","html_url":"https://github.com/hayd","followers_url":"https://api.github.com/users/hayd/followers","following_url":"https://api.github.com/users/hayd/following{/other_user}","gists_url":"https://api.github.com/users/hayd/gists{/gist_id}","starred_url":"https://api.github.com/users/hayd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayd/subscriptions","organizations_url":"https://api.github.com/users/hayd/orgs","repos_url":"https://api.github.com/users/hayd/repos","events_url":"https://api.github.com/users/hayd/events{/privacy}","received_events_url":"https://api.github.com/users/hayd/received_events","type":"User","site_admin":false},"repo":{"id":14515015,"name":"julia","full_name":"hayd/julia","owner":{"login":"hayd","id":1931852,"avatar_url":"https://avatars.githubusercontent.com/u/1931852?v=3","gravatar_id":"","url":"https://api.github.com/users/hayd","html_url":"https://github.com/hayd","followers_url":"https://api.github.com/users/hayd/followers","following_url":"https://api.github.com/users/hayd/following{/other_user}","gists_url":"https://api.github.com/users/hayd/gists{/gist_id}","starred_url":"https://api.github.com/users/hayd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayd/subscriptions","organizations_url":"https://api.github.com/users/hayd/orgs","repos_url":"https://api.github.com/users/hayd/repos","events_url":"https://api.github.com/users/hayd/events{/privacy}","received_events_url":"https://api.github.com/users/hayd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hayd/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":true,"url":"https://api.github.com/repos/hayd/julia","forks_url":"https://api.github.com/repos/hayd/julia/forks","keys_url":"https://api.github.com/repos/hayd/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hayd/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hayd/julia/teams","hooks_url":"https://api.github.com/repos/hayd/julia/hooks","issue_events_url":"https://api.github.com/repos/hayd/julia/issues/events{/number}","events_url":"https://api.github.com/repos/hayd/julia/events","assignees_url":"https://api.github.com/repos/hayd/julia/assignees{/user}","branches_url":"https://api.github.com/repos/hayd/julia/branches{/branch}","tags_url":"https://api.github.com/repos/hayd/julia/tags","blobs_url":"https://api.github.com/repos/hayd/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hayd/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hayd/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/hayd/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hayd/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/hayd/julia/languages","stargazers_url":"https://api.github.com/repos/hayd/julia/stargazers","contributors_url":"https://api.github.com/repos/hayd/julia/contributors","subscribers_url":"https://api.github.com/repos/hayd/julia/subscribers","subscription_url":"https://api.github.com/repos/hayd/julia/subscription","commits_url":"https://api.github.com/repos/hayd/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/hayd/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/hayd/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/hayd/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/hayd/julia/contents/{+path}","compare_url":"https://api.github.com/repos/hayd/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hayd/julia/merges","archive_url":"https://api.github.com/repos/hayd/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hayd/julia/downloads","issues_url":"https://api.github.com/repos/hayd/julia/issues{/number}","pulls_url":"https://api.github.com/repos/hayd/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/hayd/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/hayd/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hayd/julia/labels{/name}","releases_url":"https://api.github.com/repos/hayd/julia/releases{/id}","created_at":"2013-11-19T05:18:39Z","updated_at":"2015-04-16T06:21:08Z","pushed_at":"2015-09-23T20:03:54Z","git_url":"git://github.com/hayd/julia.git","ssh_url":"git@github.com:hayd/julia.git","clone_url":"https://github.com/hayd/julia.git","svn_url":"https://github.com/hayd/julia","homepage":"http://julialang.org/","size":81926,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JuliaLang:master","ref":"master","sha":"2ada02a7d96100f62f6e085d5c8d1fb05249c0aa","user":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":1644196,"name":"julia","full_name":"JuliaLang/julia","owner":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":false,"url":"https://api.github.com/repos/JuliaLang/julia","forks_url":"https://api.github.com/repos/JuliaLang/julia/forks","keys_url":"https://api.github.com/repos/JuliaLang/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/julia/teams","hooks_url":"https://api.github.com/repos/JuliaLang/julia/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/julia/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/julia/events","assignees_url":"https://api.github.com/repos/JuliaLang/julia/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/julia/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/julia/tags","blobs_url":"https://api.github.com/repos/JuliaLang/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/julia/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/julia/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/julia/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/julia/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/julia/subscription","commits_url":"https://api.github.com/repos/JuliaLang/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/julia/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/julia/merges","archive_url":"https://api.github.com/repos/JuliaLang/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/julia/downloads","issues_url":"https://api.github.com/repos/JuliaLang/julia/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/julia/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/julia/releases{/id}","created_at":"2011-04-21T07:01:50Z","updated_at":"2015-09-23T17:05:08Z","pushed_at":"2015-09-23T20:11:29Z","git_url":"git://github.com/JuliaLang/julia.git","ssh_url":"git@github.com:JuliaLang/julia.git","clone_url":"https://github.com/JuliaLang/julia.git","svn_url":"https://github.com/JuliaLang/julia","homepage":"http://julialang.org/","size":227461,"stargazers_count":6016,"watchers_count":6016,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1322,"mirror_url":null,"open_issues_count":1409,"forks":1322,"open_issues":1409,"watchers":6016,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/13288"},"html":{"href":"https://github.com/JuliaLang/julia/pull/13288"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/13288"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/13288/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/13288/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/13288/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/7c5301140f397a8bc8a40355e41821c8284e3025"}}}}