{"action":"created","issue":{"url":"https://api.github.com/repos/pystitch/stitch/issues/50","repository_url":"https://api.github.com/repos/pystitch/stitch","labels_url":"https://api.github.com/repos/pystitch/stitch/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/pystitch/stitch/issues/50/comments","events_url":"https://api.github.com/repos/pystitch/stitch/issues/50/events","html_url":"https://github.com/pystitch/stitch/pull/50","id":176401252,"number":50,"title":"Python 2 compatibility","user":{"login":"nils-werner","id":88704,"avatar_url":"https://avatars.githubusercontent.com/u/88704?v=3","gravatar_id":"","url":"https://api.github.com/users/nils-werner","html_url":"https://github.com/nils-werner","followers_url":"https://api.github.com/users/nils-werner/followers","following_url":"https://api.github.com/users/nils-werner/following{/other_user}","gists_url":"https://api.github.com/users/nils-werner/gists{/gist_id}","starred_url":"https://api.github.com/users/nils-werner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nils-werner/subscriptions","organizations_url":"https://api.github.com/users/nils-werner/orgs","repos_url":"https://api.github.com/users/nils-werner/repos","events_url":"https://api.github.com/users/nils-werner/events{/privacy}","received_events_url":"https://api.github.com/users/nils-werner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-12T15:09:57Z","updated_at":"2016-09-14T15:15:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pystitch/stitch/pulls/50","html_url":"https://github.com/pystitch/stitch/pull/50","diff_url":"https://github.com/pystitch/stitch/pull/50.diff","patch_url":"https://github.com/pystitch/stitch/pull/50.patch"},"body":"this PR entails necessary changes and tests for Python 2 compatibility:\r\n\r\n - `io.open()` instead of `open()`\r\n - conditionally using `unicode()` instead of `str()`\r\n - conditionally using `collections` instead of `collections.abc`\r\n - conditionally using `Queue` instead of `queue`\r\n - `unicode_literals` everywhere\r\n - `copy.copy()` instead of `list.copy()`\r\n - removed the handful of type annotations that were there\r\n - using `super(cls, self)` instead of `super()`\r\n - `tox` for cross-version testing\r\n - removed `doctr` dependency as it was unused\r\n\r\nAll tests pass on both Python versions."},"comment":{"url":"https://api.github.com/repos/pystitch/stitch/issues/comments/247047376","html_url":"https://github.com/pystitch/stitch/pull/50#issuecomment-247047376","issue_url":"https://api.github.com/repos/pystitch/stitch/issues/50","id":247047376,"user":{"login":"nils-werner","id":88704,"avatar_url":"https://avatars.githubusercontent.com/u/88704?v=3","gravatar_id":"","url":"https://api.github.com/users/nils-werner","html_url":"https://github.com/nils-werner","followers_url":"https://api.github.com/users/nils-werner/followers","following_url":"https://api.github.com/users/nils-werner/following{/other_user}","gists_url":"https://api.github.com/users/nils-werner/gists{/gist_id}","starred_url":"https://api.github.com/users/nils-werner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nils-werner/subscriptions","organizations_url":"https://api.github.com/users/nils-werner/orgs","repos_url":"https://api.github.com/users/nils-werner/repos","events_url":"https://api.github.com/users/nils-werner/events{/privacy}","received_events_url":"https://api.github.com/users/nils-werner/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T15:15:30Z","updated_at":"2016-09-14T15:15:30Z","body":"But that requires me to have pystitch installed outside the virtualenv, no?"}}
{"actor":{"display_login":"nils-werner"}}