{"action":"opened","number":62,"pull_request":{"url":"https://api.github.com/repos/nickoala/telepot/pulls/62","id":67417525,"html_url":"https://github.com/nickoala/telepot/pull/62","diff_url":"https://github.com/nickoala/telepot/pull/62.diff","patch_url":"https://github.com/nickoala/telepot/pull/62.patch","issue_url":"https://api.github.com/repos/nickoala/telepot/issues/62","number":62,"state":"open","locked":false,"title":"Added parentheses to print statements in readme","user":{"login":"zumoshi","id":4184939,"avatar_url":"https://avatars.githubusercontent.com/u/4184939?v=3","gravatar_id":"","url":"https://api.github.com/users/zumoshi","html_url":"https://github.com/zumoshi","followers_url":"https://api.github.com/users/zumoshi/followers","following_url":"https://api.github.com/users/zumoshi/following{/other_user}","gists_url":"https://api.github.com/users/zumoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/zumoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zumoshi/subscriptions","organizations_url":"https://api.github.com/users/zumoshi/orgs","repos_url":"https://api.github.com/users/zumoshi/repos","events_url":"https://api.github.com/users/zumoshi/events{/privacy}","received_events_url":"https://api.github.com/users/zumoshi/received_events","type":"User","site_admin":false},"body":"Hello,\r\nas i understand parentheses have no side effect in python 2, but each time i copy an example from read me i have to expend at least few minuets to add parentheses to prevent the following error:\r\n```\r\nSyntaxError: Missing parentheses in call to 'print'\r\n```\r\nit's as if we are encouraging use of python 2.\r\n\r\ni suggest we add parentheses for all examples, right now only async ones have parentheses and in some places it is rather inconsistent, for example line 994 of read me, out of three functions of the same example two have parentheses but one doesn't.\r\n\r\ni used the following regex to add parentheses where necessary, but also hand checked every edit to make sure nothing went wrong:\r\n```\r\n\\n(\\s*)print ([^\\(\\n#]+?)(\\s*#|\\n)\r\n``` \r\nreplaced with:\r\n```\r\n\\n$1print \\($2\\)$3\r\n```\r\n\r\nusing notepad++","created_at":"2016-04-21T20:32:08Z","updated_at":"2016-04-21T20:32:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nickoala/telepot/pulls/62/commits","review_comments_url":"https://api.github.com/repos/nickoala/telepot/pulls/62/comments","review_comment_url":"https://api.github.com/repos/nickoala/telepot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nickoala/telepot/issues/62/comments","statuses_url":"https://api.github.com/repos/nickoala/telepot/statuses/9bac01730d6fcb2985f5b3d79acfdfb437456f8d","head":{"label":"zumoshi:master","ref":"master","sha":"9bac01730d6fcb2985f5b3d79acfdfb437456f8d","user":{"login":"zumoshi","id":4184939,"avatar_url":"https://avatars.githubusercontent.com/u/4184939?v=3","gravatar_id":"","url":"https://api.github.com/users/zumoshi","html_url":"https://github.com/zumoshi","followers_url":"https://api.github.com/users/zumoshi/followers","following_url":"https://api.github.com/users/zumoshi/following{/other_user}","gists_url":"https://api.github.com/users/zumoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/zumoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zumoshi/subscriptions","organizations_url":"https://api.github.com/users/zumoshi/orgs","repos_url":"https://api.github.com/users/zumoshi/repos","events_url":"https://api.github.com/users/zumoshi/events{/privacy}","received_events_url":"https://api.github.com/users/zumoshi/received_events","type":"User","site_admin":false},"repo":{"id":55281481,"name":"telepot","full_name":"zumoshi/telepot","owner":{"login":"zumoshi","id":4184939,"avatar_url":"https://avatars.githubusercontent.com/u/4184939?v=3","gravatar_id":"","url":"https://api.github.com/users/zumoshi","html_url":"https://github.com/zumoshi","followers_url":"https://api.github.com/users/zumoshi/followers","following_url":"https://api.github.com/users/zumoshi/following{/other_user}","gists_url":"https://api.github.com/users/zumoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/zumoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zumoshi/subscriptions","organizations_url":"https://api.github.com/users/zumoshi/orgs","repos_url":"https://api.github.com/users/zumoshi/repos","events_url":"https://api.github.com/users/zumoshi/events{/privacy}","received_events_url":"https://api.github.com/users/zumoshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zumoshi/telepot","description":"Python framework for Telegram Bot API","fork":true,"url":"https://api.github.com/repos/zumoshi/telepot","forks_url":"https://api.github.com/repos/zumoshi/telepot/forks","keys_url":"https://api.github.com/repos/zumoshi/telepot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zumoshi/telepot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zumoshi/telepot/teams","hooks_url":"https://api.github.com/repos/zumoshi/telepot/hooks","issue_events_url":"https://api.github.com/repos/zumoshi/telepot/issues/events{/number}","events_url":"https://api.github.com/repos/zumoshi/telepot/events","assignees_url":"https://api.github.com/repos/zumoshi/telepot/assignees{/user}","branches_url":"https://api.github.com/repos/zumoshi/telepot/branches{/branch}","tags_url":"https://api.github.com/repos/zumoshi/telepot/tags","blobs_url":"https://api.github.com/repos/zumoshi/telepot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zumoshi/telepot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zumoshi/telepot/git/refs{/sha}","trees_url":"https://api.github.com/repos/zumoshi/telepot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zumoshi/telepot/statuses/{sha}","languages_url":"https://api.github.com/repos/zumoshi/telepot/languages","stargazers_url":"https://api.github.com/repos/zumoshi/telepot/stargazers","contributors_url":"https://api.github.com/repos/zumoshi/telepot/contributors","subscribers_url":"https://api.github.com/repos/zumoshi/telepot/subscribers","subscription_url":"https://api.github.com/repos/zumoshi/telepot/subscription","commits_url":"https://api.github.com/repos/zumoshi/telepot/commits{/sha}","git_commits_url":"https://api.github.com/repos/zumoshi/telepot/git/commits{/sha}","comments_url":"https://api.github.com/repos/zumoshi/telepot/comments{/number}","issue_comment_url":"https://api.github.com/repos/zumoshi/telepot/issues/comments{/number}","contents_url":"https://api.github.com/repos/zumoshi/telepot/contents/{+path}","compare_url":"https://api.github.com/repos/zumoshi/telepot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zumoshi/telepot/merges","archive_url":"https://api.github.com/repos/zumoshi/telepot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zumoshi/telepot/downloads","issues_url":"https://api.github.com/repos/zumoshi/telepot/issues{/number}","pulls_url":"https://api.github.com/repos/zumoshi/telepot/pulls{/number}","milestones_url":"https://api.github.com/repos/zumoshi/telepot/milestones{/number}","notifications_url":"https://api.github.com/repos/zumoshi/telepot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zumoshi/telepot/labels{/name}","releases_url":"https://api.github.com/repos/zumoshi/telepot/releases{/id}","deployments_url":"https://api.github.com/repos/zumoshi/telepot/deployments","created_at":"2016-04-02T06:37:17Z","updated_at":"2016-04-02T06:37:18Z","pushed_at":"2016-04-21T20:22:17Z","git_url":"git://github.com/zumoshi/telepot.git","ssh_url":"git@github.com:zumoshi/telepot.git","clone_url":"https://github.com/zumoshi/telepot.git","svn_url":"https://github.com/zumoshi/telepot","homepage":"","size":1607,"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":"nickoala:master","ref":"master","sha":"c1fd4573dbc36f41f1c8e97f4e6469b7a1d5445c","user":{"login":"nickoala","id":13035417,"avatar_url":"https://avatars.githubusercontent.com/u/13035417?v=3","gravatar_id":"","url":"https://api.github.com/users/nickoala","html_url":"https://github.com/nickoala","followers_url":"https://api.github.com/users/nickoala/followers","following_url":"https://api.github.com/users/nickoala/following{/other_user}","gists_url":"https://api.github.com/users/nickoala/gists{/gist_id}","starred_url":"https://api.github.com/users/nickoala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickoala/subscriptions","organizations_url":"https://api.github.com/users/nickoala/orgs","repos_url":"https://api.github.com/users/nickoala/repos","events_url":"https://api.github.com/users/nickoala/events{/privacy}","received_events_url":"https://api.github.com/users/nickoala/received_events","type":"User","site_admin":false},"repo":{"id":38793780,"name":"telepot","full_name":"nickoala/telepot","owner":{"login":"nickoala","id":13035417,"avatar_url":"https://avatars.githubusercontent.com/u/13035417?v=3","gravatar_id":"","url":"https://api.github.com/users/nickoala","html_url":"https://github.com/nickoala","followers_url":"https://api.github.com/users/nickoala/followers","following_url":"https://api.github.com/users/nickoala/following{/other_user}","gists_url":"https://api.github.com/users/nickoala/gists{/gist_id}","starred_url":"https://api.github.com/users/nickoala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickoala/subscriptions","organizations_url":"https://api.github.com/users/nickoala/orgs","repos_url":"https://api.github.com/users/nickoala/repos","events_url":"https://api.github.com/users/nickoala/events{/privacy}","received_events_url":"https://api.github.com/users/nickoala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickoala/telepot","description":"Python framework for Telegram Bot API","fork":false,"url":"https://api.github.com/repos/nickoala/telepot","forks_url":"https://api.github.com/repos/nickoala/telepot/forks","keys_url":"https://api.github.com/repos/nickoala/telepot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickoala/telepot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickoala/telepot/teams","hooks_url":"https://api.github.com/repos/nickoala/telepot/hooks","issue_events_url":"https://api.github.com/repos/nickoala/telepot/issues/events{/number}","events_url":"https://api.github.com/repos/nickoala/telepot/events","assignees_url":"https://api.github.com/repos/nickoala/telepot/assignees{/user}","branches_url":"https://api.github.com/repos/nickoala/telepot/branches{/branch}","tags_url":"https://api.github.com/repos/nickoala/telepot/tags","blobs_url":"https://api.github.com/repos/nickoala/telepot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickoala/telepot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickoala/telepot/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickoala/telepot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickoala/telepot/statuses/{sha}","languages_url":"https://api.github.com/repos/nickoala/telepot/languages","stargazers_url":"https://api.github.com/repos/nickoala/telepot/stargazers","contributors_url":"https://api.github.com/repos/nickoala/telepot/contributors","subscribers_url":"https://api.github.com/repos/nickoala/telepot/subscribers","subscription_url":"https://api.github.com/repos/nickoala/telepot/subscription","commits_url":"https://api.github.com/repos/nickoala/telepot/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickoala/telepot/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickoala/telepot/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickoala/telepot/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickoala/telepot/contents/{+path}","compare_url":"https://api.github.com/repos/nickoala/telepot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickoala/telepot/merges","archive_url":"https://api.github.com/repos/nickoala/telepot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickoala/telepot/downloads","issues_url":"https://api.github.com/repos/nickoala/telepot/issues{/number}","pulls_url":"https://api.github.com/repos/nickoala/telepot/pulls{/number}","milestones_url":"https://api.github.com/repos/nickoala/telepot/milestones{/number}","notifications_url":"https://api.github.com/repos/nickoala/telepot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickoala/telepot/labels{/name}","releases_url":"https://api.github.com/repos/nickoala/telepot/releases{/id}","deployments_url":"https://api.github.com/repos/nickoala/telepot/deployments","created_at":"2015-07-09T03:06:53Z","updated_at":"2016-04-21T14:32:53Z","pushed_at":"2016-04-19T12:40:12Z","git_url":"git://github.com/nickoala/telepot.git","ssh_url":"git@github.com:nickoala/telepot.git","clone_url":"https://github.com/nickoala/telepot.git","svn_url":"https://github.com/nickoala/telepot","homepage":"","size":1567,"stargazers_count":473,"watchers_count":473,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":11,"forks":51,"open_issues":11,"watchers":473,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nickoala/telepot/pulls/62"},"html":{"href":"https://github.com/nickoala/telepot/pull/62"},"issue":{"href":"https://api.github.com/repos/nickoala/telepot/issues/62"},"comments":{"href":"https://api.github.com/repos/nickoala/telepot/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/nickoala/telepot/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/nickoala/telepot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nickoala/telepot/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/nickoala/telepot/statuses/9bac01730d6fcb2985f5b3d79acfdfb437456f8d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":30,"changed_files":2}}