{"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/jonathanslenders/pymux/pulls/48","id":77268291,"html_url":"https://github.com/jonathanslenders/pymux/pull/48","diff_url":"https://github.com/jonathanslenders/pymux/pull/48.diff","patch_url":"https://github.com/jonathanslenders/pymux/pull/48.patch","issue_url":"https://api.github.com/repos/jonathanslenders/pymux/issues/48","number":48,"state":"open","locked":false,"title":"Updated syntax to work with Python 2.6","user":{"login":"haridsv","id":166486,"avatar_url":"https://avatars.githubusercontent.com/u/166486?v=3","gravatar_id":"","url":"https://api.github.com/users/haridsv","html_url":"https://github.com/haridsv","followers_url":"https://api.github.com/users/haridsv/followers","following_url":"https://api.github.com/users/haridsv/following{/other_user}","gists_url":"https://api.github.com/users/haridsv/gists{/gist_id}","starred_url":"https://api.github.com/users/haridsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haridsv/subscriptions","organizations_url":"https://api.github.com/users/haridsv/orgs","repos_url":"https://api.github.com/users/haridsv/repos","events_url":"https://api.github.com/users/haridsv/events{/privacy}","received_events_url":"https://api.github.com/users/haridsv/received_events","type":"User","site_admin":false},"body":"When I tried to use pymux with Python 2.6.6, I got the below error:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/hkrishna/python/bin/pymux\", line 8, in <module>\r\n    load_entry_point('pymux==0.11', 'console_scripts', 'pymux')()\r\n  File \"/home/hkrishna/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py\", line 318, in load_entry_point\r\n  File \"/home/hkrishna/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py\", line 2221, in load_entry_point\r\n  File \"/home/hkrishna/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py\", line 1954, in load\r\n  File \"/home/hkrishna/python/lib/python2.6/site-packages/pymux/entry_points/run_pymux.py\", line 28, in <module>\r\n    from pymux.main import Pymux\r\n  File \"/home/hkrishna/python/lib/python2.6/site-packages/pymux/main.py\", line 17, in <module>\r\n    from .arrangement import Arrangement, Pane, Window\r\n  File \"/home/hkrishna/python/lib/python2.6/site-packages/pymux/arrangement.py\", line 11, in <module>\r\n    from .process import Process\r\n  File \"/home/hkrishna/python/lib/python2.6/site-packages/pymux/process.py\", line 13, in <module>\r\n    from .stream import BetterStream\r\n  File \"/home/hkrishna/python/lib/python2.6/site-packages/pymux/stream.py\", line 142\r\n    {event: getattr(listener, attr) for event, attr in source_dict.items()})\r\n                                      ^\r\nSyntaxError: invalid syntax\r\n```\r\n\r\nThe patch makes the failing line backwards compatible.","created_at":"2016-07-13T10:52:02Z","updated_at":"2016-07-13T10:52:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jonathanslenders/pymux/pulls/48/commits","review_comments_url":"https://api.github.com/repos/jonathanslenders/pymux/pulls/48/comments","review_comment_url":"https://api.github.com/repos/jonathanslenders/pymux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jonathanslenders/pymux/issues/48/comments","statuses_url":"https://api.github.com/repos/jonathanslenders/pymux/statuses/0b51bfab80fb3e74cdc783469738e7d1402f5535","head":{"label":"haridsv:master","ref":"master","sha":"0b51bfab80fb3e74cdc783469738e7d1402f5535","user":{"login":"haridsv","id":166486,"avatar_url":"https://avatars.githubusercontent.com/u/166486?v=3","gravatar_id":"","url":"https://api.github.com/users/haridsv","html_url":"https://github.com/haridsv","followers_url":"https://api.github.com/users/haridsv/followers","following_url":"https://api.github.com/users/haridsv/following{/other_user}","gists_url":"https://api.github.com/users/haridsv/gists{/gist_id}","starred_url":"https://api.github.com/users/haridsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haridsv/subscriptions","organizations_url":"https://api.github.com/users/haridsv/orgs","repos_url":"https://api.github.com/users/haridsv/repos","events_url":"https://api.github.com/users/haridsv/events{/privacy}","received_events_url":"https://api.github.com/users/haridsv/received_events","type":"User","site_admin":false},"repo":{"id":63238319,"name":"pymux","full_name":"haridsv/pymux","owner":{"login":"haridsv","id":166486,"avatar_url":"https://avatars.githubusercontent.com/u/166486?v=3","gravatar_id":"","url":"https://api.github.com/users/haridsv","html_url":"https://github.com/haridsv","followers_url":"https://api.github.com/users/haridsv/followers","following_url":"https://api.github.com/users/haridsv/following{/other_user}","gists_url":"https://api.github.com/users/haridsv/gists{/gist_id}","starred_url":"https://api.github.com/users/haridsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haridsv/subscriptions","organizations_url":"https://api.github.com/users/haridsv/orgs","repos_url":"https://api.github.com/users/haridsv/repos","events_url":"https://api.github.com/users/haridsv/events{/privacy}","received_events_url":"https://api.github.com/users/haridsv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haridsv/pymux","description":"A terminal multiplexer (like tmux) in Python","fork":true,"url":"https://api.github.com/repos/haridsv/pymux","forks_url":"https://api.github.com/repos/haridsv/pymux/forks","keys_url":"https://api.github.com/repos/haridsv/pymux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haridsv/pymux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haridsv/pymux/teams","hooks_url":"https://api.github.com/repos/haridsv/pymux/hooks","issue_events_url":"https://api.github.com/repos/haridsv/pymux/issues/events{/number}","events_url":"https://api.github.com/repos/haridsv/pymux/events","assignees_url":"https://api.github.com/repos/haridsv/pymux/assignees{/user}","branches_url":"https://api.github.com/repos/haridsv/pymux/branches{/branch}","tags_url":"https://api.github.com/repos/haridsv/pymux/tags","blobs_url":"https://api.github.com/repos/haridsv/pymux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haridsv/pymux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haridsv/pymux/git/refs{/sha}","trees_url":"https://api.github.com/repos/haridsv/pymux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haridsv/pymux/statuses/{sha}","languages_url":"https://api.github.com/repos/haridsv/pymux/languages","stargazers_url":"https://api.github.com/repos/haridsv/pymux/stargazers","contributors_url":"https://api.github.com/repos/haridsv/pymux/contributors","subscribers_url":"https://api.github.com/repos/haridsv/pymux/subscribers","subscription_url":"https://api.github.com/repos/haridsv/pymux/subscription","commits_url":"https://api.github.com/repos/haridsv/pymux/commits{/sha}","git_commits_url":"https://api.github.com/repos/haridsv/pymux/git/commits{/sha}","comments_url":"https://api.github.com/repos/haridsv/pymux/comments{/number}","issue_comment_url":"https://api.github.com/repos/haridsv/pymux/issues/comments{/number}","contents_url":"https://api.github.com/repos/haridsv/pymux/contents/{+path}","compare_url":"https://api.github.com/repos/haridsv/pymux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haridsv/pymux/merges","archive_url":"https://api.github.com/repos/haridsv/pymux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haridsv/pymux/downloads","issues_url":"https://api.github.com/repos/haridsv/pymux/issues{/number}","pulls_url":"https://api.github.com/repos/haridsv/pymux/pulls{/number}","milestones_url":"https://api.github.com/repos/haridsv/pymux/milestones{/number}","notifications_url":"https://api.github.com/repos/haridsv/pymux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haridsv/pymux/labels{/name}","releases_url":"https://api.github.com/repos/haridsv/pymux/releases{/id}","deployments_url":"https://api.github.com/repos/haridsv/pymux/deployments","created_at":"2016-07-13T10:48:21Z","updated_at":"2016-07-13T10:48:22Z","pushed_at":"2016-07-13T10:50:00Z","git_url":"git://github.com/haridsv/pymux.git","ssh_url":"git@github.com:haridsv/pymux.git","clone_url":"https://github.com/haridsv/pymux.git","svn_url":"https://github.com/haridsv/pymux","homepage":"","size":685,"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":"jonathanslenders:master","ref":"master","sha":"f72dd1aeb02e048d3365d3ace8d20be7a6590a8a","user":{"login":"jonathanslenders","id":216638,"avatar_url":"https://avatars.githubusercontent.com/u/216638?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanslenders","html_url":"https://github.com/jonathanslenders","followers_url":"https://api.github.com/users/jonathanslenders/followers","following_url":"https://api.github.com/users/jonathanslenders/following{/other_user}","gists_url":"https://api.github.com/users/jonathanslenders/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanslenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanslenders/subscriptions","organizations_url":"https://api.github.com/users/jonathanslenders/orgs","repos_url":"https://api.github.com/users/jonathanslenders/repos","events_url":"https://api.github.com/users/jonathanslenders/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanslenders/received_events","type":"User","site_admin":false},"repo":{"id":16433838,"name":"pymux","full_name":"jonathanslenders/pymux","owner":{"login":"jonathanslenders","id":216638,"avatar_url":"https://avatars.githubusercontent.com/u/216638?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanslenders","html_url":"https://github.com/jonathanslenders","followers_url":"https://api.github.com/users/jonathanslenders/followers","following_url":"https://api.github.com/users/jonathanslenders/following{/other_user}","gists_url":"https://api.github.com/users/jonathanslenders/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanslenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanslenders/subscriptions","organizations_url":"https://api.github.com/users/jonathanslenders/orgs","repos_url":"https://api.github.com/users/jonathanslenders/repos","events_url":"https://api.github.com/users/jonathanslenders/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanslenders/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonathanslenders/pymux","description":"A terminal multiplexer (like tmux) in Python","fork":false,"url":"https://api.github.com/repos/jonathanslenders/pymux","forks_url":"https://api.github.com/repos/jonathanslenders/pymux/forks","keys_url":"https://api.github.com/repos/jonathanslenders/pymux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonathanslenders/pymux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonathanslenders/pymux/teams","hooks_url":"https://api.github.com/repos/jonathanslenders/pymux/hooks","issue_events_url":"https://api.github.com/repos/jonathanslenders/pymux/issues/events{/number}","events_url":"https://api.github.com/repos/jonathanslenders/pymux/events","assignees_url":"https://api.github.com/repos/jonathanslenders/pymux/assignees{/user}","branches_url":"https://api.github.com/repos/jonathanslenders/pymux/branches{/branch}","tags_url":"https://api.github.com/repos/jonathanslenders/pymux/tags","blobs_url":"https://api.github.com/repos/jonathanslenders/pymux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonathanslenders/pymux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonathanslenders/pymux/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonathanslenders/pymux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonathanslenders/pymux/statuses/{sha}","languages_url":"https://api.github.com/repos/jonathanslenders/pymux/languages","stargazers_url":"https://api.github.com/repos/jonathanslenders/pymux/stargazers","contributors_url":"https://api.github.com/repos/jonathanslenders/pymux/contributors","subscribers_url":"https://api.github.com/repos/jonathanslenders/pymux/subscribers","subscription_url":"https://api.github.com/repos/jonathanslenders/pymux/subscription","commits_url":"https://api.github.com/repos/jonathanslenders/pymux/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonathanslenders/pymux/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonathanslenders/pymux/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonathanslenders/pymux/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonathanslenders/pymux/contents/{+path}","compare_url":"https://api.github.com/repos/jonathanslenders/pymux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonathanslenders/pymux/merges","archive_url":"https://api.github.com/repos/jonathanslenders/pymux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonathanslenders/pymux/downloads","issues_url":"https://api.github.com/repos/jonathanslenders/pymux/issues{/number}","pulls_url":"https://api.github.com/repos/jonathanslenders/pymux/pulls{/number}","milestones_url":"https://api.github.com/repos/jonathanslenders/pymux/milestones{/number}","notifications_url":"https://api.github.com/repos/jonathanslenders/pymux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonathanslenders/pymux/labels{/name}","releases_url":"https://api.github.com/repos/jonathanslenders/pymux/releases{/id}","deployments_url":"https://api.github.com/repos/jonathanslenders/pymux/deployments","created_at":"2014-02-01T12:47:26Z","updated_at":"2016-07-13T06:55:10Z","pushed_at":"2016-06-27T19:48:51Z","git_url":"git://github.com/jonathanslenders/pymux.git","ssh_url":"git@github.com:jonathanslenders/pymux.git","clone_url":"https://github.com/jonathanslenders/pymux.git","svn_url":"https://github.com/jonathanslenders/pymux","homepage":"","size":685,"stargazers_count":963,"watchers_count":963,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":20,"forks":51,"open_issues":20,"watchers":963,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jonathanslenders/pymux/pulls/48"},"html":{"href":"https://github.com/jonathanslenders/pymux/pull/48"},"issue":{"href":"https://api.github.com/repos/jonathanslenders/pymux/issues/48"},"comments":{"href":"https://api.github.com/repos/jonathanslenders/pymux/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/jonathanslenders/pymux/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/jonathanslenders/pymux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jonathanslenders/pymux/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/jonathanslenders/pymux/statuses/0b51bfab80fb3e74cdc783469738e7d1402f5535"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"haridsv"}}