{"action":"opened","number":14660,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/14660","id":55833557,"html_url":"https://github.com/JuliaLang/julia/pull/14660","diff_url":"https://github.com/JuliaLang/julia/pull/14660.diff","patch_url":"https://github.com/JuliaLang/julia/pull/14660.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/14660","number":14660,"state":"open","locked":false,"title":"Consistency of read() and write() functions (per #14608)","user":{"login":"samoconnor","id":8266283,"avatar_url":"https://avatars.githubusercontent.com/u/8266283?v=3","gravatar_id":"","url":"https://api.github.com/users/samoconnor","html_url":"https://github.com/samoconnor","followers_url":"https://api.github.com/users/samoconnor/followers","following_url":"https://api.github.com/users/samoconnor/following{/other_user}","gists_url":"https://api.github.com/users/samoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/samoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoconnor/subscriptions","organizations_url":"https://api.github.com/users/samoconnor/orgs","repos_url":"https://api.github.com/users/samoconnor/repos","events_url":"https://api.github.com/users/samoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/samoconnor/received_events","type":"User","site_admin":false},"body":"As proposed in https://github.com/JuliaLang/julia/issues/14608.\r\n\r\nThe discussion in #14608 includes ideas for better ways to do things in the future.\r\nThis PR is limited to making a few tweaks to the existing interface to make it a little more consistent:\r\n\r\n* Deprecate `readbytes` and `readall`, replaced by `read` and `readstring`.\r\n\r\n* Accept `filename::AbstractString` as 1st arg for `write`, `read`, `read!`, `readuntil`, `readline` and `readlines`.","created_at":"2016-01-12T23:28:53Z","updated_at":"2016-01-12T23:28:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/14660/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/14660/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/14660/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/e4ec915072f8ca0214a5344681d338a4c956870a","head":{"label":"samoconnor:issue_14608","ref":"issue_14608","sha":"e4ec915072f8ca0214a5344681d338a4c956870a","user":{"login":"samoconnor","id":8266283,"avatar_url":"https://avatars.githubusercontent.com/u/8266283?v=3","gravatar_id":"","url":"https://api.github.com/users/samoconnor","html_url":"https://github.com/samoconnor","followers_url":"https://api.github.com/users/samoconnor/followers","following_url":"https://api.github.com/users/samoconnor/following{/other_user}","gists_url":"https://api.github.com/users/samoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/samoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoconnor/subscriptions","organizations_url":"https://api.github.com/users/samoconnor/orgs","repos_url":"https://api.github.com/users/samoconnor/repos","events_url":"https://api.github.com/users/samoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/samoconnor/received_events","type":"User","site_admin":false},"repo":{"id":28431265,"name":"julia","full_name":"samoconnor/julia","owner":{"login":"samoconnor","id":8266283,"avatar_url":"https://avatars.githubusercontent.com/u/8266283?v=3","gravatar_id":"","url":"https://api.github.com/users/samoconnor","html_url":"https://github.com/samoconnor","followers_url":"https://api.github.com/users/samoconnor/followers","following_url":"https://api.github.com/users/samoconnor/following{/other_user}","gists_url":"https://api.github.com/users/samoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/samoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoconnor/subscriptions","organizations_url":"https://api.github.com/users/samoconnor/orgs","repos_url":"https://api.github.com/users/samoconnor/repos","events_url":"https://api.github.com/users/samoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/samoconnor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samoconnor/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":true,"url":"https://api.github.com/repos/samoconnor/julia","forks_url":"https://api.github.com/repos/samoconnor/julia/forks","keys_url":"https://api.github.com/repos/samoconnor/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samoconnor/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samoconnor/julia/teams","hooks_url":"https://api.github.com/repos/samoconnor/julia/hooks","issue_events_url":"https://api.github.com/repos/samoconnor/julia/issues/events{/number}","events_url":"https://api.github.com/repos/samoconnor/julia/events","assignees_url":"https://api.github.com/repos/samoconnor/julia/assignees{/user}","branches_url":"https://api.github.com/repos/samoconnor/julia/branches{/branch}","tags_url":"https://api.github.com/repos/samoconnor/julia/tags","blobs_url":"https://api.github.com/repos/samoconnor/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samoconnor/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samoconnor/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/samoconnor/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samoconnor/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/samoconnor/julia/languages","stargazers_url":"https://api.github.com/repos/samoconnor/julia/stargazers","contributors_url":"https://api.github.com/repos/samoconnor/julia/contributors","subscribers_url":"https://api.github.com/repos/samoconnor/julia/subscribers","subscription_url":"https://api.github.com/repos/samoconnor/julia/subscription","commits_url":"https://api.github.com/repos/samoconnor/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/samoconnor/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/samoconnor/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/samoconnor/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/samoconnor/julia/contents/{+path}","compare_url":"https://api.github.com/repos/samoconnor/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samoconnor/julia/merges","archive_url":"https://api.github.com/repos/samoconnor/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samoconnor/julia/downloads","issues_url":"https://api.github.com/repos/samoconnor/julia/issues{/number}","pulls_url":"https://api.github.com/repos/samoconnor/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/samoconnor/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/samoconnor/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samoconnor/julia/labels{/name}","releases_url":"https://api.github.com/repos/samoconnor/julia/releases{/id}","created_at":"2014-12-24T02:53:02Z","updated_at":"2016-01-12T22:56:09Z","pushed_at":"2016-01-12T23:09:15Z","git_url":"git://github.com/samoconnor/julia.git","ssh_url":"git@github.com:samoconnor/julia.git","clone_url":"https://github.com/samoconnor/julia.git","svn_url":"https://github.com/samoconnor/julia","homepage":"http://julialang.org/","size":90558,"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":"53ecbaa1392485764fd5fb42900175d29909223d","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":"2016-01-12T23:18:52Z","pushed_at":"2016-01-12T23:28:53Z","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":118557,"stargazers_count":6578,"watchers_count":6578,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1468,"mirror_url":null,"open_issues_count":1591,"forks":1468,"open_issues":1591,"watchers":6578,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/14660"},"html":{"href":"https://github.com/JuliaLang/julia/pull/14660"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/14660"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/14660/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/14660/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/14660/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/e4ec915072f8ca0214a5344681d338a4c956870a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":161,"deletions":147,"changed_files":47}}