{"action":"closed","number":24,"pull_request":{"url":"https://api.github.com/repos/hynek/pem/pulls/24","id":64262964,"html_url":"https://github.com/hynek/pem/pull/24","diff_url":"https://github.com/hynek/pem/pull/24.diff","patch_url":"https://github.com/hynek/pem/pull/24.patch","issue_url":"https://api.github.com/repos/hynek/pem/issues/24","number":24,"state":"closed","locked":false,"title":"Increase sanity level of string handling","user":{"login":"mithrandi","id":856430,"avatar_url":"https://avatars.githubusercontent.com/u/856430?v=3","gravatar_id":"","url":"https://api.github.com/users/mithrandi","html_url":"https://github.com/mithrandi","followers_url":"https://api.github.com/users/mithrandi/followers","following_url":"https://api.github.com/users/mithrandi/following{/other_user}","gists_url":"https://api.github.com/users/mithrandi/gists{/gist_id}","starred_url":"https://api.github.com/users/mithrandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mithrandi/subscriptions","organizations_url":"https://api.github.com/users/mithrandi/orgs","repos_url":"https://api.github.com/users/mithrandi/repos","events_url":"https://api.github.com/users/mithrandi/events{/privacy}","received_events_url":"https://api.github.com/users/mithrandi/received_events","type":"User","site_admin":false},"body":"This PR makes the PEM objects always use `bytes` internally. In addition:\r\n - An `as_bytes` method is added for always getting `bytes`.\r\n - `__str__` still returns a native string as required by Python.\r\n - `__repr__` doesn't explode on Python 3 (fixes #23)\r\n - Constructing the PEM object types with either `unicode` or `bytes` now works on both Py 2/3, but the `unicode` path is deprecated.","created_at":"2016-03-27T11:05:39Z","updated_at":"2016-03-30T11:50:00Z","closed_at":"2016-03-30T11:50:00Z","merged_at":"2016-03-30T11:50:00Z","merge_commit_sha":"12370ee6a551ae2aeb52a771d92d597f95445545","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hynek/pem/pulls/24/commits","review_comments_url":"https://api.github.com/repos/hynek/pem/pulls/24/comments","review_comment_url":"https://api.github.com/repos/hynek/pem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hynek/pem/issues/24/comments","statuses_url":"https://api.github.com/repos/hynek/pem/statuses/bbb29ae525ae877de50488191c96cba8b0f0e2f1","head":{"label":"mithrandi:bytes-pls","ref":"bytes-pls","sha":"bbb29ae525ae877de50488191c96cba8b0f0e2f1","user":{"login":"mithrandi","id":856430,"avatar_url":"https://avatars.githubusercontent.com/u/856430?v=3","gravatar_id":"","url":"https://api.github.com/users/mithrandi","html_url":"https://github.com/mithrandi","followers_url":"https://api.github.com/users/mithrandi/followers","following_url":"https://api.github.com/users/mithrandi/following{/other_user}","gists_url":"https://api.github.com/users/mithrandi/gists{/gist_id}","starred_url":"https://api.github.com/users/mithrandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mithrandi/subscriptions","organizations_url":"https://api.github.com/users/mithrandi/orgs","repos_url":"https://api.github.com/users/mithrandi/repos","events_url":"https://api.github.com/users/mithrandi/events{/privacy}","received_events_url":"https://api.github.com/users/mithrandi/received_events","type":"User","site_admin":false},"repo":{"id":54116317,"name":"pem","full_name":"mithrandi/pem","owner":{"login":"mithrandi","id":856430,"avatar_url":"https://avatars.githubusercontent.com/u/856430?v=3","gravatar_id":"","url":"https://api.github.com/users/mithrandi","html_url":"https://github.com/mithrandi","followers_url":"https://api.github.com/users/mithrandi/followers","following_url":"https://api.github.com/users/mithrandi/following{/other_user}","gists_url":"https://api.github.com/users/mithrandi/gists{/gist_id}","starred_url":"https://api.github.com/users/mithrandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mithrandi/subscriptions","organizations_url":"https://api.github.com/users/mithrandi/orgs","repos_url":"https://api.github.com/users/mithrandi/repos","events_url":"https://api.github.com/users/mithrandi/events{/privacy}","received_events_url":"https://api.github.com/users/mithrandi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mithrandi/pem","description":"Easy PEM file parsing in Python.","fork":true,"url":"https://api.github.com/repos/mithrandi/pem","forks_url":"https://api.github.com/repos/mithrandi/pem/forks","keys_url":"https://api.github.com/repos/mithrandi/pem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mithrandi/pem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mithrandi/pem/teams","hooks_url":"https://api.github.com/repos/mithrandi/pem/hooks","issue_events_url":"https://api.github.com/repos/mithrandi/pem/issues/events{/number}","events_url":"https://api.github.com/repos/mithrandi/pem/events","assignees_url":"https://api.github.com/repos/mithrandi/pem/assignees{/user}","branches_url":"https://api.github.com/repos/mithrandi/pem/branches{/branch}","tags_url":"https://api.github.com/repos/mithrandi/pem/tags","blobs_url":"https://api.github.com/repos/mithrandi/pem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mithrandi/pem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mithrandi/pem/git/refs{/sha}","trees_url":"https://api.github.com/repos/mithrandi/pem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mithrandi/pem/statuses/{sha}","languages_url":"https://api.github.com/repos/mithrandi/pem/languages","stargazers_url":"https://api.github.com/repos/mithrandi/pem/stargazers","contributors_url":"https://api.github.com/repos/mithrandi/pem/contributors","subscribers_url":"https://api.github.com/repos/mithrandi/pem/subscribers","subscription_url":"https://api.github.com/repos/mithrandi/pem/subscription","commits_url":"https://api.github.com/repos/mithrandi/pem/commits{/sha}","git_commits_url":"https://api.github.com/repos/mithrandi/pem/git/commits{/sha}","comments_url":"https://api.github.com/repos/mithrandi/pem/comments{/number}","issue_comment_url":"https://api.github.com/repos/mithrandi/pem/issues/comments{/number}","contents_url":"https://api.github.com/repos/mithrandi/pem/contents/{+path}","compare_url":"https://api.github.com/repos/mithrandi/pem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mithrandi/pem/merges","archive_url":"https://api.github.com/repos/mithrandi/pem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mithrandi/pem/downloads","issues_url":"https://api.github.com/repos/mithrandi/pem/issues{/number}","pulls_url":"https://api.github.com/repos/mithrandi/pem/pulls{/number}","milestones_url":"https://api.github.com/repos/mithrandi/pem/milestones{/number}","notifications_url":"https://api.github.com/repos/mithrandi/pem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mithrandi/pem/labels{/name}","releases_url":"https://api.github.com/repos/mithrandi/pem/releases{/id}","deployments_url":"https://api.github.com/repos/mithrandi/pem/deployments","created_at":"2016-03-17T12:33:14Z","updated_at":"2016-03-17T12:33:15Z","pushed_at":"2016-03-30T11:13:56Z","git_url":"git://github.com/mithrandi/pem.git","ssh_url":"git@github.com:mithrandi/pem.git","clone_url":"https://github.com/mithrandi/pem.git","svn_url":"https://github.com/mithrandi/pem","homepage":null,"size":120,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"hynek:master","ref":"master","sha":"a589bce93545873be996760d9bb90c7cda3d6712","user":{"login":"hynek","id":41240,"avatar_url":"https://avatars.githubusercontent.com/u/41240?v=3","gravatar_id":"","url":"https://api.github.com/users/hynek","html_url":"https://github.com/hynek","followers_url":"https://api.github.com/users/hynek/followers","following_url":"https://api.github.com/users/hynek/following{/other_user}","gists_url":"https://api.github.com/users/hynek/gists{/gist_id}","starred_url":"https://api.github.com/users/hynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hynek/subscriptions","organizations_url":"https://api.github.com/users/hynek/orgs","repos_url":"https://api.github.com/users/hynek/repos","events_url":"https://api.github.com/users/hynek/events{/privacy}","received_events_url":"https://api.github.com/users/hynek/received_events","type":"User","site_admin":false},"repo":{"id":11485300,"name":"pem","full_name":"hynek/pem","owner":{"login":"hynek","id":41240,"avatar_url":"https://avatars.githubusercontent.com/u/41240?v=3","gravatar_id":"","url":"https://api.github.com/users/hynek","html_url":"https://github.com/hynek","followers_url":"https://api.github.com/users/hynek/followers","following_url":"https://api.github.com/users/hynek/following{/other_user}","gists_url":"https://api.github.com/users/hynek/gists{/gist_id}","starred_url":"https://api.github.com/users/hynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hynek/subscriptions","organizations_url":"https://api.github.com/users/hynek/orgs","repos_url":"https://api.github.com/users/hynek/repos","events_url":"https://api.github.com/users/hynek/events{/privacy}","received_events_url":"https://api.github.com/users/hynek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hynek/pem","description":"Easy PEM file parsing in Python.","fork":false,"url":"https://api.github.com/repos/hynek/pem","forks_url":"https://api.github.com/repos/hynek/pem/forks","keys_url":"https://api.github.com/repos/hynek/pem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hynek/pem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hynek/pem/teams","hooks_url":"https://api.github.com/repos/hynek/pem/hooks","issue_events_url":"https://api.github.com/repos/hynek/pem/issues/events{/number}","events_url":"https://api.github.com/repos/hynek/pem/events","assignees_url":"https://api.github.com/repos/hynek/pem/assignees{/user}","branches_url":"https://api.github.com/repos/hynek/pem/branches{/branch}","tags_url":"https://api.github.com/repos/hynek/pem/tags","blobs_url":"https://api.github.com/repos/hynek/pem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hynek/pem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hynek/pem/git/refs{/sha}","trees_url":"https://api.github.com/repos/hynek/pem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hynek/pem/statuses/{sha}","languages_url":"https://api.github.com/repos/hynek/pem/languages","stargazers_url":"https://api.github.com/repos/hynek/pem/stargazers","contributors_url":"https://api.github.com/repos/hynek/pem/contributors","subscribers_url":"https://api.github.com/repos/hynek/pem/subscribers","subscription_url":"https://api.github.com/repos/hynek/pem/subscription","commits_url":"https://api.github.com/repos/hynek/pem/commits{/sha}","git_commits_url":"https://api.github.com/repos/hynek/pem/git/commits{/sha}","comments_url":"https://api.github.com/repos/hynek/pem/comments{/number}","issue_comment_url":"https://api.github.com/repos/hynek/pem/issues/comments{/number}","contents_url":"https://api.github.com/repos/hynek/pem/contents/{+path}","compare_url":"https://api.github.com/repos/hynek/pem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hynek/pem/merges","archive_url":"https://api.github.com/repos/hynek/pem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hynek/pem/downloads","issues_url":"https://api.github.com/repos/hynek/pem/issues{/number}","pulls_url":"https://api.github.com/repos/hynek/pem/pulls{/number}","milestones_url":"https://api.github.com/repos/hynek/pem/milestones{/number}","notifications_url":"https://api.github.com/repos/hynek/pem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hynek/pem/labels{/name}","releases_url":"https://api.github.com/repos/hynek/pem/releases{/id}","deployments_url":"https://api.github.com/repos/hynek/pem/deployments","created_at":"2013-07-17T19:22:11Z","updated_at":"2016-03-01T21:22:49Z","pushed_at":"2016-03-30T11:50:00Z","git_url":"git://github.com/hynek/pem.git","ssh_url":"git@github.com:hynek/pem.git","clone_url":"https://github.com/hynek/pem.git","svn_url":"https://github.com/hynek/pem","homepage":null,"size":128,"stargazers_count":64,"watchers_count":64,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":4,"forks":20,"open_issues":4,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hynek/pem/pulls/24"},"html":{"href":"https://github.com/hynek/pem/pull/24"},"issue":{"href":"https://api.github.com/repos/hynek/pem/issues/24"},"comments":{"href":"https://api.github.com/repos/hynek/pem/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/hynek/pem/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/hynek/pem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hynek/pem/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/hynek/pem/statuses/bbb29ae525ae877de50488191c96cba8b0f0e2f1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hynek","id":41240,"avatar_url":"https://avatars.githubusercontent.com/u/41240?v=3","gravatar_id":"","url":"https://api.github.com/users/hynek","html_url":"https://github.com/hynek","followers_url":"https://api.github.com/users/hynek/followers","following_url":"https://api.github.com/users/hynek/following{/other_user}","gists_url":"https://api.github.com/users/hynek/gists{/gist_id}","starred_url":"https://api.github.com/users/hynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hynek/subscriptions","organizations_url":"https://api.github.com/users/hynek/orgs","repos_url":"https://api.github.com/users/hynek/repos","events_url":"https://api.github.com/users/hynek/events{/privacy}","received_events_url":"https://api.github.com/users/hynek/received_events","type":"User","site_admin":false},"comments":9,"review_comments":0,"commits":10,"additions":146,"deletions":47,"changed_files":7}}