{"action":"created","comment":{"url":"https://api.github.com/repos/cherrypy/cherrypy/pulls/comments/85758631","pull_request_review_id":6454833,"id":85758631,"diff_hunk":"@@ -332,3 +332,15 @@ def _args_from_interpreter_flags():\n             args.append('-W' + opt)\n \n         return args\n+\n+# html module come in 3.2 version\n+try:\n+    from html import escape\n+except:","path":"cherrypy/_cpcompat.py","position":8,"original_position":8,"commit_id":"aa0a6a7ad3028d2cf4670d8411b22436dcade21a","original_commit_id":"947173be2e55619ac99d1403e37f3b77bd38865b","user":{"login":"paulohrpinheiro","id":855103,"avatar_url":"https://avatars.githubusercontent.com/u/855103?v=3","gravatar_id":"","url":"https://api.github.com/users/paulohrpinheiro","html_url":"https://github.com/paulohrpinheiro","followers_url":"https://api.github.com/users/paulohrpinheiro/followers","following_url":"https://api.github.com/users/paulohrpinheiro/following{/other_user}","gists_url":"https://api.github.com/users/paulohrpinheiro/gists{/gist_id}","starred_url":"https://api.github.com/users/paulohrpinheiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulohrpinheiro/subscriptions","organizations_url":"https://api.github.com/users/paulohrpinheiro/orgs","repos_url":"https://api.github.com/users/paulohrpinheiro/repos","events_url":"https://api.github.com/users/paulohrpinheiro/events{/privacy}","received_events_url":"https://api.github.com/users/paulohrpinheiro/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2016-10-31T15:10:49Z","updated_at":"2016-10-31T15:10:49Z","html_url":"https://github.com/cherrypy/cherrypy/pull/1513#discussion_r85758631","pull_request_url":"https://api.github.com/repos/cherrypy/cherrypy/pulls/1513","_links":{"self":{"href":"https://api.github.com/repos/cherrypy/cherrypy/pulls/comments/85758631"},"html":{"href":"https://github.com/cherrypy/cherrypy/pull/1513#discussion_r85758631"},"pull_request":{"href":"https://api.github.com/repos/cherrypy/cherrypy/pulls/1513"}}},"pull_request":{"url":"https://api.github.com/repos/cherrypy/cherrypy/pulls/1513","id":91041058,"html_url":"https://github.com/cherrypy/cherrypy/pull/1513","diff_url":"https://github.com/cherrypy/cherrypy/pull/1513.diff","patch_url":"https://github.com/cherrypy/cherrypy/pull/1513.patch","issue_url":"https://api.github.com/repos/cherrypy/cherrypy/issues/1513","number":1513,"state":"open","locked":false,"title":"Deprecated cgi in python3 #1330","user":{"login":"paulohrpinheiro","id":855103,"avatar_url":"https://avatars.githubusercontent.com/u/855103?v=3","gravatar_id":"","url":"https://api.github.com/users/paulohrpinheiro","html_url":"https://github.com/paulohrpinheiro","followers_url":"https://api.github.com/users/paulohrpinheiro/followers","following_url":"https://api.github.com/users/paulohrpinheiro/following{/other_user}","gists_url":"https://api.github.com/users/paulohrpinheiro/gists{/gist_id}","starred_url":"https://api.github.com/users/paulohrpinheiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulohrpinheiro/subscriptions","organizations_url":"https://api.github.com/users/paulohrpinheiro/orgs","repos_url":"https://api.github.com/users/paulohrpinheiro/repos","events_url":"https://api.github.com/users/paulohrpinheiro/events{/privacy}","received_events_url":"https://api.github.com/users/paulohrpinheiro/received_events","type":"User","site_admin":false},"body":"Use import especific to py2 or py3 to escape function from older cgi or newest html module in python3, conform #1330.\n","created_at":"2016-10-26T16:30:54Z","updated_at":"2016-10-31T15:10:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59413f91e49de1380d9812d689b149f3054a30e3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cherrypy/cherrypy/pulls/1513/commits","review_comments_url":"https://api.github.com/repos/cherrypy/cherrypy/pulls/1513/comments","review_comment_url":"https://api.github.com/repos/cherrypy/cherrypy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cherrypy/cherrypy/issues/1513/comments","statuses_url":"https://api.github.com/repos/cherrypy/cherrypy/statuses/aa0a6a7ad3028d2cf4670d8411b22436dcade21a","head":{"label":"paulohrpinheiro:deprecated_cgi","ref":"deprecated_cgi","sha":"aa0a6a7ad3028d2cf4670d8411b22436dcade21a","user":{"login":"paulohrpinheiro","id":855103,"avatar_url":"https://avatars.githubusercontent.com/u/855103?v=3","gravatar_id":"","url":"https://api.github.com/users/paulohrpinheiro","html_url":"https://github.com/paulohrpinheiro","followers_url":"https://api.github.com/users/paulohrpinheiro/followers","following_url":"https://api.github.com/users/paulohrpinheiro/following{/other_user}","gists_url":"https://api.github.com/users/paulohrpinheiro/gists{/gist_id}","starred_url":"https://api.github.com/users/paulohrpinheiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulohrpinheiro/subscriptions","organizations_url":"https://api.github.com/users/paulohrpinheiro/orgs","repos_url":"https://api.github.com/users/paulohrpinheiro/repos","events_url":"https://api.github.com/users/paulohrpinheiro/events{/privacy}","received_events_url":"https://api.github.com/users/paulohrpinheiro/received_events","type":"User","site_admin":false},"repo":{"id":72006874,"name":"cherrypy","full_name":"paulohrpinheiro/cherrypy","owner":{"login":"paulohrpinheiro","id":855103,"avatar_url":"https://avatars.githubusercontent.com/u/855103?v=3","gravatar_id":"","url":"https://api.github.com/users/paulohrpinheiro","html_url":"https://github.com/paulohrpinheiro","followers_url":"https://api.github.com/users/paulohrpinheiro/followers","following_url":"https://api.github.com/users/paulohrpinheiro/following{/other_user}","gists_url":"https://api.github.com/users/paulohrpinheiro/gists{/gist_id}","starred_url":"https://api.github.com/users/paulohrpinheiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulohrpinheiro/subscriptions","organizations_url":"https://api.github.com/users/paulohrpinheiro/orgs","repos_url":"https://api.github.com/users/paulohrpinheiro/repos","events_url":"https://api.github.com/users/paulohrpinheiro/events{/privacy}","received_events_url":"https://api.github.com/users/paulohrpinheiro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulohrpinheiro/cherrypy","description":"CherryPy is a pythonic, object-oriented HTTP framework.","fork":true,"url":"https://api.github.com/repos/paulohrpinheiro/cherrypy","forks_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/forks","keys_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/teams","hooks_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/hooks","issue_events_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/issues/events{/number}","events_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/events","assignees_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/assignees{/user}","branches_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/branches{/branch}","tags_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/tags","blobs_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/statuses/{sha}","languages_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/languages","stargazers_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/stargazers","contributors_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/contributors","subscribers_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/subscribers","subscription_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/subscription","commits_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/contents/{+path}","compare_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/merges","archive_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/downloads","issues_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/issues{/number}","pulls_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/pulls{/number}","milestones_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/milestones{/number}","notifications_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/labels{/name}","releases_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/releases{/id}","deployments_url":"https://api.github.com/repos/paulohrpinheiro/cherrypy/deployments","created_at":"2016-10-26T13:39:42Z","updated_at":"2016-10-26T13:39:44Z","pushed_at":"2016-10-31T15:06:22Z","git_url":"git://github.com/paulohrpinheiro/cherrypy.git","ssh_url":"git@github.com:paulohrpinheiro/cherrypy.git","clone_url":"https://github.com/paulohrpinheiro/cherrypy.git","svn_url":"https://github.com/paulohrpinheiro/cherrypy","homepage":"http://www.cherrypy.org/","size":26514,"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":"cherrypy:master","ref":"master","sha":"98e47113fcd28e18db259c80df607cbc53bad08b","user":{"login":"cherrypy","id":6617466,"avatar_url":"https://avatars.githubusercontent.com/u/6617466?v=3","gravatar_id":"","url":"https://api.github.com/users/cherrypy","html_url":"https://github.com/cherrypy","followers_url":"https://api.github.com/users/cherrypy/followers","following_url":"https://api.github.com/users/cherrypy/following{/other_user}","gists_url":"https://api.github.com/users/cherrypy/gists{/gist_id}","starred_url":"https://api.github.com/users/cherrypy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherrypy/subscriptions","organizations_url":"https://api.github.com/users/cherrypy/orgs","repos_url":"https://api.github.com/users/cherrypy/repos","events_url":"https://api.github.com/users/cherrypy/events{/privacy}","received_events_url":"https://api.github.com/users/cherrypy/received_events","type":"Organization","site_admin":false},"repo":{"id":57436777,"name":"cherrypy","full_name":"cherrypy/cherrypy","owner":{"login":"cherrypy","id":6617466,"avatar_url":"https://avatars.githubusercontent.com/u/6617466?v=3","gravatar_id":"","url":"https://api.github.com/users/cherrypy","html_url":"https://github.com/cherrypy","followers_url":"https://api.github.com/users/cherrypy/followers","following_url":"https://api.github.com/users/cherrypy/following{/other_user}","gists_url":"https://api.github.com/users/cherrypy/gists{/gist_id}","starred_url":"https://api.github.com/users/cherrypy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherrypy/subscriptions","organizations_url":"https://api.github.com/users/cherrypy/orgs","repos_url":"https://api.github.com/users/cherrypy/repos","events_url":"https://api.github.com/users/cherrypy/events{/privacy}","received_events_url":"https://api.github.com/users/cherrypy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cherrypy/cherrypy","description":"CherryPy is a pythonic, object-oriented HTTP framework.","fork":false,"url":"https://api.github.com/repos/cherrypy/cherrypy","forks_url":"https://api.github.com/repos/cherrypy/cherrypy/forks","keys_url":"https://api.github.com/repos/cherrypy/cherrypy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cherrypy/cherrypy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cherrypy/cherrypy/teams","hooks_url":"https://api.github.com/repos/cherrypy/cherrypy/hooks","issue_events_url":"https://api.github.com/repos/cherrypy/cherrypy/issues/events{/number}","events_url":"https://api.github.com/repos/cherrypy/cherrypy/events","assignees_url":"https://api.github.com/repos/cherrypy/cherrypy/assignees{/user}","branches_url":"https://api.github.com/repos/cherrypy/cherrypy/branches{/branch}","tags_url":"https://api.github.com/repos/cherrypy/cherrypy/tags","blobs_url":"https://api.github.com/repos/cherrypy/cherrypy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cherrypy/cherrypy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cherrypy/cherrypy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cherrypy/cherrypy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cherrypy/cherrypy/statuses/{sha}","languages_url":"https://api.github.com/repos/cherrypy/cherrypy/languages","stargazers_url":"https://api.github.com/repos/cherrypy/cherrypy/stargazers","contributors_url":"https://api.github.com/repos/cherrypy/cherrypy/contributors","subscribers_url":"https://api.github.com/repos/cherrypy/cherrypy/subscribers","subscription_url":"https://api.github.com/repos/cherrypy/cherrypy/subscription","commits_url":"https://api.github.com/repos/cherrypy/cherrypy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cherrypy/cherrypy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cherrypy/cherrypy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cherrypy/cherrypy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cherrypy/cherrypy/contents/{+path}","compare_url":"https://api.github.com/repos/cherrypy/cherrypy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cherrypy/cherrypy/merges","archive_url":"https://api.github.com/repos/cherrypy/cherrypy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cherrypy/cherrypy/downloads","issues_url":"https://api.github.com/repos/cherrypy/cherrypy/issues{/number}","pulls_url":"https://api.github.com/repos/cherrypy/cherrypy/pulls{/number}","milestones_url":"https://api.github.com/repos/cherrypy/cherrypy/milestones{/number}","notifications_url":"https://api.github.com/repos/cherrypy/cherrypy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cherrypy/cherrypy/labels{/name}","releases_url":"https://api.github.com/repos/cherrypy/cherrypy/releases{/id}","deployments_url":"https://api.github.com/repos/cherrypy/cherrypy/deployments","created_at":"2016-04-30T10:09:26Z","updated_at":"2016-10-31T08:45:45Z","pushed_at":"2016-10-31T15:06:23Z","git_url":"git://github.com/cherrypy/cherrypy.git","ssh_url":"git@github.com:cherrypy/cherrypy.git","clone_url":"https://github.com/cherrypy/cherrypy.git","svn_url":"https://github.com/cherrypy/cherrypy","homepage":"http://www.cherrypy.org/","size":26629,"stargazers_count":213,"watchers_count":213,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":204,"forks":49,"open_issues":204,"watchers":213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cherrypy/cherrypy/pulls/1513"},"html":{"href":"https://github.com/cherrypy/cherrypy/pull/1513"},"issue":{"href":"https://api.github.com/repos/cherrypy/cherrypy/issues/1513"},"comments":{"href":"https://api.github.com/repos/cherrypy/cherrypy/issues/1513/comments"},"review_comments":{"href":"https://api.github.com/repos/cherrypy/cherrypy/pulls/1513/comments"},"review_comment":{"href":"https://api.github.com/repos/cherrypy/cherrypy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cherrypy/cherrypy/pulls/1513/commits"},"statuses":{"href":"https://api.github.com/repos/cherrypy/cherrypy/statuses/aa0a6a7ad3028d2cf4670d8411b22436dcade21a"}}}}
{"actor":{"display_login":"paulohrpinheiro"}}