{"action":"created","comment":{"url":"https://api.github.com/repos/python/peps/pulls/comments/70956072","id":70956072,"diff_hunk":"@@ -96,6 +96,13 @@ In addition to the above, the following constraints are placed on the API:\n   a value of either ``true`` or ``false`` to indicate whether or not there is a\n   GPG signature. Repositories that do this **SHOULD** include it on every link.\n \n+* A repository **MAY** include a ``data-requires-python`` attribute on a file\n+  link. This exposes the *Requires-Python* metadata field, specified in PEP 345,\n+  for the corresponding release. Where this is present, installer tools\n+  **SHOULD** ignore the download when installing to a Python version that\n+  doesn't satisfy the requirement. For example::\n+\n+      <a href=\"...\" data-requires-python=\">=3\">...</a>","path":"pep-0503.txt","position":10,"original_position":10,"commit_id":"dd16809e7e847c48974f672c16757d266371877d","original_commit_id":"f324bd29d5f5b2c4065d79c4d54e917a8b58e01c","user":{"login":"jayvdb","id":15092,"avatar_url":"https://avatars.githubusercontent.com/u/15092?v=3","gravatar_id":"","url":"https://api.github.com/users/jayvdb","html_url":"https://github.com/jayvdb","followers_url":"https://api.github.com/users/jayvdb/followers","following_url":"https://api.github.com/users/jayvdb/following{/other_user}","gists_url":"https://api.github.com/users/jayvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/jayvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayvdb/subscriptions","organizations_url":"https://api.github.com/users/jayvdb/orgs","repos_url":"https://api.github.com/users/jayvdb/repos","events_url":"https://api.github.com/users/jayvdb/events{/privacy}","received_events_url":"https://api.github.com/users/jayvdb/received_events","type":"User","site_admin":false},"body":"`<` needs encoding in every flavour of HTML/SGML/XML/etc.\r\n`>` needs to be encoded for some of them (sorry I dont recall the specifics offhand), but not all of them, so generally people and tools encode it all the time, to be safe and future proof in case the DOCTYPE of the document is changed in the future, or a browser implicitly detects it as a different DOCTYPE than the writer intended.","created_at":"2016-07-15T11:04:10Z","updated_at":"2016-07-15T11:04:10Z","html_url":"https://github.com/python/peps/pull/56#discussion_r70956072","pull_request_url":"https://api.github.com/repos/python/peps/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/python/peps/pulls/comments/70956072"},"html":{"href":"https://github.com/python/peps/pull/56#discussion_r70956072"},"pull_request":{"href":"https://api.github.com/repos/python/peps/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/python/peps/pulls/56","id":77495135,"html_url":"https://github.com/python/peps/pull/56","diff_url":"https://github.com/python/peps/pull/56.diff","patch_url":"https://github.com/python/peps/pull/56.patch","issue_url":"https://api.github.com/repos/python/peps/issues/56","number":56,"state":"open","locked":false,"title":"Add data-requires-python attribute to file links (PEP 503)","user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"body":"This was suggested by @dstufft in pypa/pip#3847","created_at":"2016-07-14T17:37:38Z","updated_at":"2016-07-15T11:04:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63f48391e7452b3503d210224ebbca818230d823","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/python/peps/pulls/56/commits","review_comments_url":"https://api.github.com/repos/python/peps/pulls/56/comments","review_comment_url":"https://api.github.com/repos/python/peps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python/peps/issues/56/comments","statuses_url":"https://api.github.com/repos/python/peps/statuses/dd16809e7e847c48974f672c16757d266371877d","head":{"label":"takluyver:data-requires-python","ref":"data-requires-python","sha":"dd16809e7e847c48974f672c16757d266371877d","user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"repo":{"id":63078229,"name":"peps","full_name":"takluyver/peps","owner":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takluyver/peps","description":"Python Enhancement Proposals","fork":true,"url":"https://api.github.com/repos/takluyver/peps","forks_url":"https://api.github.com/repos/takluyver/peps/forks","keys_url":"https://api.github.com/repos/takluyver/peps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takluyver/peps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takluyver/peps/teams","hooks_url":"https://api.github.com/repos/takluyver/peps/hooks","issue_events_url":"https://api.github.com/repos/takluyver/peps/issues/events{/number}","events_url":"https://api.github.com/repos/takluyver/peps/events","assignees_url":"https://api.github.com/repos/takluyver/peps/assignees{/user}","branches_url":"https://api.github.com/repos/takluyver/peps/branches{/branch}","tags_url":"https://api.github.com/repos/takluyver/peps/tags","blobs_url":"https://api.github.com/repos/takluyver/peps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takluyver/peps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takluyver/peps/git/refs{/sha}","trees_url":"https://api.github.com/repos/takluyver/peps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takluyver/peps/statuses/{sha}","languages_url":"https://api.github.com/repos/takluyver/peps/languages","stargazers_url":"https://api.github.com/repos/takluyver/peps/stargazers","contributors_url":"https://api.github.com/repos/takluyver/peps/contributors","subscribers_url":"https://api.github.com/repos/takluyver/peps/subscribers","subscription_url":"https://api.github.com/repos/takluyver/peps/subscription","commits_url":"https://api.github.com/repos/takluyver/peps/commits{/sha}","git_commits_url":"https://api.github.com/repos/takluyver/peps/git/commits{/sha}","comments_url":"https://api.github.com/repos/takluyver/peps/comments{/number}","issue_comment_url":"https://api.github.com/repos/takluyver/peps/issues/comments{/number}","contents_url":"https://api.github.com/repos/takluyver/peps/contents/{+path}","compare_url":"https://api.github.com/repos/takluyver/peps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takluyver/peps/merges","archive_url":"https://api.github.com/repos/takluyver/peps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takluyver/peps/downloads","issues_url":"https://api.github.com/repos/takluyver/peps/issues{/number}","pulls_url":"https://api.github.com/repos/takluyver/peps/pulls{/number}","milestones_url":"https://api.github.com/repos/takluyver/peps/milestones{/number}","notifications_url":"https://api.github.com/repos/takluyver/peps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takluyver/peps/labels{/name}","releases_url":"https://api.github.com/repos/takluyver/peps/releases{/id}","deployments_url":"https://api.github.com/repos/takluyver/peps/deployments","created_at":"2016-07-11T15:10:42Z","updated_at":"2016-07-11T15:10:45Z","pushed_at":"2016-07-14T17:51:04Z","git_url":"git://github.com/takluyver/peps.git","ssh_url":"git@github.com:takluyver/peps.git","clone_url":"https://github.com/takluyver/peps.git","svn_url":"https://github.com/takluyver/peps","homepage":"https://www.python.org/dev/peps/","size":7286,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"python:master","ref":"master","sha":"970e9c534676027b5641d5abcc29c0194ab3434f","user":{"login":"python","id":1525981,"avatar_url":"https://avatars.githubusercontent.com/u/1525981?v=3","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"repo":{"id":13414105,"name":"peps","full_name":"python/peps","owner":{"login":"python","id":1525981,"avatar_url":"https://avatars.githubusercontent.com/u/1525981?v=3","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python/peps","description":"Python Enhancement Proposals","fork":false,"url":"https://api.github.com/repos/python/peps","forks_url":"https://api.github.com/repos/python/peps/forks","keys_url":"https://api.github.com/repos/python/peps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python/peps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python/peps/teams","hooks_url":"https://api.github.com/repos/python/peps/hooks","issue_events_url":"https://api.github.com/repos/python/peps/issues/events{/number}","events_url":"https://api.github.com/repos/python/peps/events","assignees_url":"https://api.github.com/repos/python/peps/assignees{/user}","branches_url":"https://api.github.com/repos/python/peps/branches{/branch}","tags_url":"https://api.github.com/repos/python/peps/tags","blobs_url":"https://api.github.com/repos/python/peps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python/peps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python/peps/git/refs{/sha}","trees_url":"https://api.github.com/repos/python/peps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python/peps/statuses/{sha}","languages_url":"https://api.github.com/repos/python/peps/languages","stargazers_url":"https://api.github.com/repos/python/peps/stargazers","contributors_url":"https://api.github.com/repos/python/peps/contributors","subscribers_url":"https://api.github.com/repos/python/peps/subscribers","subscription_url":"https://api.github.com/repos/python/peps/subscription","commits_url":"https://api.github.com/repos/python/peps/commits{/sha}","git_commits_url":"https://api.github.com/repos/python/peps/git/commits{/sha}","comments_url":"https://api.github.com/repos/python/peps/comments{/number}","issue_comment_url":"https://api.github.com/repos/python/peps/issues/comments{/number}","contents_url":"https://api.github.com/repos/python/peps/contents/{+path}","compare_url":"https://api.github.com/repos/python/peps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python/peps/merges","archive_url":"https://api.github.com/repos/python/peps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python/peps/downloads","issues_url":"https://api.github.com/repos/python/peps/issues{/number}","pulls_url":"https://api.github.com/repos/python/peps/pulls{/number}","milestones_url":"https://api.github.com/repos/python/peps/milestones{/number}","notifications_url":"https://api.github.com/repos/python/peps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python/peps/labels{/name}","releases_url":"https://api.github.com/repos/python/peps/releases{/id}","deployments_url":"https://api.github.com/repos/python/peps/deployments","created_at":"2013-10-08T13:27:12Z","updated_at":"2016-07-14T17:42:17Z","pushed_at":"2016-07-14T17:51:05Z","git_url":"git://github.com/python/peps.git","ssh_url":"git@github.com:python/peps.git","clone_url":"https://github.com/python/peps.git","svn_url":"https://github.com/python/peps","homepage":"https://www.python.org/dev/peps/","size":7323,"stargazers_count":142,"watchers_count":142,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":14,"forks":36,"open_issues":14,"watchers":142,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python/peps/pulls/56"},"html":{"href":"https://github.com/python/peps/pull/56"},"issue":{"href":"https://api.github.com/repos/python/peps/issues/56"},"comments":{"href":"https://api.github.com/repos/python/peps/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/python/peps/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/python/peps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python/peps/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/python/peps/statuses/dd16809e7e847c48974f672c16757d266371877d"}}}}
{"actor":{"display_login":"jayvdb"}}