{"action":"closed","number":59,"pull_request":{"url":"https://api.github.com/repos/construct/construct/pulls/59","id":39641772,"html_url":"https://github.com/construct/construct/pull/59","diff_url":"https://github.com/construct/construct/pull/59.diff","patch_url":"https://github.com/construct/construct/pull/59.patch","issue_url":"https://api.github.com/repos/construct/construct/issues/59","number":59,"state":"closed","locked":false,"title":"A GreedyString","user":{"login":"mfine","id":60851,"avatar_url":"https://avatars.githubusercontent.com/u/60851?v=3","gravatar_id":"","url":"https://api.github.com/users/mfine","html_url":"https://github.com/mfine","followers_url":"https://api.github.com/users/mfine/followers","following_url":"https://api.github.com/users/mfine/following{/other_user}","gists_url":"https://api.github.com/users/mfine/gists{/gist_id}","starred_url":"https://api.github.com/users/mfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfine/subscriptions","organizations_url":"https://api.github.com/users/mfine/orgs","repos_url":"https://api.github.com/users/mfine/repos","events_url":"https://api.github.com/users/mfine/events{/privacy}","received_events_url":"https://api.github.com/users/mfine/received_events","type":"User","site_admin":false},"body":"We ran into the need for a greedy string that would consume as many bytes as possible without any terminators. We came up with a `GreedyString` after trying a number of other options. Not sure if others would find this simple higher level construct helpful.","created_at":"2015-07-10T00:16:50Z","updated_at":"2015-07-10T12:02:43Z","closed_at":"2015-07-10T12:02:43Z","merged_at":"2015-07-10T12:02:43Z","merge_commit_sha":"9603c729c8c4ea6afbe7a1a8656f89c2e9c0e872","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/construct/construct/pulls/59/commits","review_comments_url":"https://api.github.com/repos/construct/construct/pulls/59/comments","review_comment_url":"https://api.github.com/repos/construct/construct/pulls/comments{/number}","comments_url":"https://api.github.com/repos/construct/construct/issues/59/comments","statuses_url":"https://api.github.com/repos/construct/construct/statuses/038f812d5469dd39350177fa25bab42b2112bb9b","head":{"label":"mfine:mfine-greedy-string","ref":"mfine-greedy-string","sha":"038f812d5469dd39350177fa25bab42b2112bb9b","user":{"login":"mfine","id":60851,"avatar_url":"https://avatars.githubusercontent.com/u/60851?v=3","gravatar_id":"","url":"https://api.github.com/users/mfine","html_url":"https://github.com/mfine","followers_url":"https://api.github.com/users/mfine/followers","following_url":"https://api.github.com/users/mfine/following{/other_user}","gists_url":"https://api.github.com/users/mfine/gists{/gist_id}","starred_url":"https://api.github.com/users/mfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfine/subscriptions","organizations_url":"https://api.github.com/users/mfine/orgs","repos_url":"https://api.github.com/users/mfine/repos","events_url":"https://api.github.com/users/mfine/events{/privacy}","received_events_url":"https://api.github.com/users/mfine/received_events","type":"User","site_admin":false},"repo":{"id":38850838,"name":"construct","full_name":"mfine/construct","owner":{"login":"mfine","id":60851,"avatar_url":"https://avatars.githubusercontent.com/u/60851?v=3","gravatar_id":"","url":"https://api.github.com/users/mfine","html_url":"https://github.com/mfine","followers_url":"https://api.github.com/users/mfine/followers","following_url":"https://api.github.com/users/mfine/following{/other_user}","gists_url":"https://api.github.com/users/mfine/gists{/gist_id}","starred_url":"https://api.github.com/users/mfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfine/subscriptions","organizations_url":"https://api.github.com/users/mfine/orgs","repos_url":"https://api.github.com/users/mfine/repos","events_url":"https://api.github.com/users/mfine/events{/privacy}","received_events_url":"https://api.github.com/users/mfine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfine/construct","description":"Construct: Declarative data structures for python that allow symmetric parsing and building","fork":true,"url":"https://api.github.com/repos/mfine/construct","forks_url":"https://api.github.com/repos/mfine/construct/forks","keys_url":"https://api.github.com/repos/mfine/construct/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfine/construct/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfine/construct/teams","hooks_url":"https://api.github.com/repos/mfine/construct/hooks","issue_events_url":"https://api.github.com/repos/mfine/construct/issues/events{/number}","events_url":"https://api.github.com/repos/mfine/construct/events","assignees_url":"https://api.github.com/repos/mfine/construct/assignees{/user}","branches_url":"https://api.github.com/repos/mfine/construct/branches{/branch}","tags_url":"https://api.github.com/repos/mfine/construct/tags","blobs_url":"https://api.github.com/repos/mfine/construct/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfine/construct/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfine/construct/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfine/construct/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfine/construct/statuses/{sha}","languages_url":"https://api.github.com/repos/mfine/construct/languages","stargazers_url":"https://api.github.com/repos/mfine/construct/stargazers","contributors_url":"https://api.github.com/repos/mfine/construct/contributors","subscribers_url":"https://api.github.com/repos/mfine/construct/subscribers","subscription_url":"https://api.github.com/repos/mfine/construct/subscription","commits_url":"https://api.github.com/repos/mfine/construct/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfine/construct/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfine/construct/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfine/construct/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfine/construct/contents/{+path}","compare_url":"https://api.github.com/repos/mfine/construct/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfine/construct/merges","archive_url":"https://api.github.com/repos/mfine/construct/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfine/construct/downloads","issues_url":"https://api.github.com/repos/mfine/construct/issues{/number}","pulls_url":"https://api.github.com/repos/mfine/construct/pulls{/number}","milestones_url":"https://api.github.com/repos/mfine/construct/milestones{/number}","notifications_url":"https://api.github.com/repos/mfine/construct/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfine/construct/labels{/name}","releases_url":"https://api.github.com/repos/mfine/construct/releases{/id}","created_at":"2015-07-09T23:44:41Z","updated_at":"2015-07-09T23:44:41Z","pushed_at":"2015-07-10T00:19:40Z","git_url":"git://github.com/mfine/construct.git","ssh_url":"git@github.com:mfine/construct.git","clone_url":"https://github.com/mfine/construct.git","svn_url":"https://github.com/mfine/construct","homepage":"http://construct.readthedocs.org","size":1484,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"construct:master","ref":"master","sha":"e1e5edf51676114fb195a357b67c4113d63e44c9","user":{"login":"construct","id":1703836,"avatar_url":"https://avatars.githubusercontent.com/u/1703836?v=3","gravatar_id":"","url":"https://api.github.com/users/construct","html_url":"https://github.com/construct","followers_url":"https://api.github.com/users/construct/followers","following_url":"https://api.github.com/users/construct/following{/other_user}","gists_url":"https://api.github.com/users/construct/gists{/gist_id}","starred_url":"https://api.github.com/users/construct/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/construct/subscriptions","organizations_url":"https://api.github.com/users/construct/orgs","repos_url":"https://api.github.com/users/construct/repos","events_url":"https://api.github.com/users/construct/events{/privacy}","received_events_url":"https://api.github.com/users/construct/received_events","type":"Organization","site_admin":false},"repo":{"id":4218694,"name":"construct","full_name":"construct/construct","owner":{"login":"construct","id":1703836,"avatar_url":"https://avatars.githubusercontent.com/u/1703836?v=3","gravatar_id":"","url":"https://api.github.com/users/construct","html_url":"https://github.com/construct","followers_url":"https://api.github.com/users/construct/followers","following_url":"https://api.github.com/users/construct/following{/other_user}","gists_url":"https://api.github.com/users/construct/gists{/gist_id}","starred_url":"https://api.github.com/users/construct/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/construct/subscriptions","organizations_url":"https://api.github.com/users/construct/orgs","repos_url":"https://api.github.com/users/construct/repos","events_url":"https://api.github.com/users/construct/events{/privacy}","received_events_url":"https://api.github.com/users/construct/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/construct/construct","description":"Construct: Declarative data structures for python that allow symmetric parsing and building","fork":true,"url":"https://api.github.com/repos/construct/construct","forks_url":"https://api.github.com/repos/construct/construct/forks","keys_url":"https://api.github.com/repos/construct/construct/keys{/key_id}","collaborators_url":"https://api.github.com/repos/construct/construct/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/construct/construct/teams","hooks_url":"https://api.github.com/repos/construct/construct/hooks","issue_events_url":"https://api.github.com/repos/construct/construct/issues/events{/number}","events_url":"https://api.github.com/repos/construct/construct/events","assignees_url":"https://api.github.com/repos/construct/construct/assignees{/user}","branches_url":"https://api.github.com/repos/construct/construct/branches{/branch}","tags_url":"https://api.github.com/repos/construct/construct/tags","blobs_url":"https://api.github.com/repos/construct/construct/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/construct/construct/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/construct/construct/git/refs{/sha}","trees_url":"https://api.github.com/repos/construct/construct/git/trees{/sha}","statuses_url":"https://api.github.com/repos/construct/construct/statuses/{sha}","languages_url":"https://api.github.com/repos/construct/construct/languages","stargazers_url":"https://api.github.com/repos/construct/construct/stargazers","contributors_url":"https://api.github.com/repos/construct/construct/contributors","subscribers_url":"https://api.github.com/repos/construct/construct/subscribers","subscription_url":"https://api.github.com/repos/construct/construct/subscription","commits_url":"https://api.github.com/repos/construct/construct/commits{/sha}","git_commits_url":"https://api.github.com/repos/construct/construct/git/commits{/sha}","comments_url":"https://api.github.com/repos/construct/construct/comments{/number}","issue_comment_url":"https://api.github.com/repos/construct/construct/issues/comments{/number}","contents_url":"https://api.github.com/repos/construct/construct/contents/{+path}","compare_url":"https://api.github.com/repos/construct/construct/compare/{base}...{head}","merges_url":"https://api.github.com/repos/construct/construct/merges","archive_url":"https://api.github.com/repos/construct/construct/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/construct/construct/downloads","issues_url":"https://api.github.com/repos/construct/construct/issues{/number}","pulls_url":"https://api.github.com/repos/construct/construct/pulls{/number}","milestones_url":"https://api.github.com/repos/construct/construct/milestones{/number}","notifications_url":"https://api.github.com/repos/construct/construct/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/construct/construct/labels{/name}","releases_url":"https://api.github.com/repos/construct/construct/releases{/id}","created_at":"2012-05-03T20:54:12Z","updated_at":"2015-07-02T23:04:01Z","pushed_at":"2015-07-10T12:02:43Z","git_url":"git://github.com/construct/construct.git","ssh_url":"git@github.com:construct/construct.git","clone_url":"https://github.com/construct/construct.git","svn_url":"https://github.com/construct/construct","homepage":"http://construct.readthedocs.org","size":1484,"stargazers_count":167,"watchers_count":167,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":18,"forks":37,"open_issues":18,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/construct/construct/pulls/59"},"html":{"href":"https://github.com/construct/construct/pull/59"},"issue":{"href":"https://api.github.com/repos/construct/construct/issues/59"},"comments":{"href":"https://api.github.com/repos/construct/construct/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/construct/construct/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/construct/construct/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/construct/construct/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/construct/construct/statuses/038f812d5469dd39350177fa25bab42b2112bb9b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tomerfiliba","id":53122,"avatar_url":"https://avatars.githubusercontent.com/u/53122?v=3","gravatar_id":"","url":"https://api.github.com/users/tomerfiliba","html_url":"https://github.com/tomerfiliba","followers_url":"https://api.github.com/users/tomerfiliba/followers","following_url":"https://api.github.com/users/tomerfiliba/following{/other_user}","gists_url":"https://api.github.com/users/tomerfiliba/gists{/gist_id}","starred_url":"https://api.github.com/users/tomerfiliba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomerfiliba/subscriptions","organizations_url":"https://api.github.com/users/tomerfiliba/orgs","repos_url":"https://api.github.com/users/tomerfiliba/repos","events_url":"https://api.github.com/users/tomerfiliba/events{/privacy}","received_events_url":"https://api.github.com/users/tomerfiliba/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":40,"deletions":2,"changed_files":3}}