https
GET
api.github.com
None
/repos/PyGithub/PyGithub
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Server', 'GitHub.com'), ('Date', 'Sun, 24 Mar 2024 16:03:09 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"c56d6987e79ad7fa7ea859c898ac3b1e58da00e27fbe97bffe433b5a5cbb515d"'), ('Last-Modified', 'Sun, 24 Mar 2024 11:25:21 GMT'), ('github-authentication-token-expiration', '2024-04-02 20:01:36 +0200'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'metadata=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4993'), ('X-RateLimit-Reset', '1711299465'), ('X-RateLimit-Used', '7'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'D998:19EC4F:5957305:59D4EDF:66004EBD')]
{"id":3544490,"node_id":"MDEwOlJlcG9zaXRvcnkzNTQ0NDkw","name":"PyGithub","full_name":"PyGithub/PyGithub","private":false,"owner":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PyGithub/PyGithub","description":"Typed interactions with the GitHub API v3","fork":false,"url":"https://api.github.com/repos/PyGithub/PyGithub","forks_url":"https://api.github.com/repos/PyGithub/PyGithub/forks","keys_url":"https://api.github.com/repos/PyGithub/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyGithub/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyGithub/PyGithub/teams","hooks_url":"https://api.github.com/repos/PyGithub/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/PyGithub/PyGithub/events","assignees_url":"https://api.github.com/repos/PyGithub/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/PyGithub/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/PyGithub/PyGithub/tags","blobs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyGithub/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyGithub/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/PyGithub/PyGithub/languages","stargazers_url":"https://api.github.com/repos/PyGithub/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/PyGithub/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/PyGithub/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/PyGithub/PyGithub/subscription","commits_url":"https://api.github.com/repos/PyGithub/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/PyGithub/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyGithub/PyGithub/merges","archive_url":"https://api.github.com/repos/PyGithub/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyGithub/PyGithub/downloads","issues_url":"https://api.github.com/repos/PyGithub/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/PyGithub/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/PyGithub/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyGithub/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/PyGithub/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/PyGithub/PyGithub/deployments","created_at":"2012-02-25T12:53:47Z","updated_at":"2024-03-24T11:25:21Z","pushed_at":"2024-03-24T15:14:35Z","git_url":"git://github.com/PyGithub/PyGithub.git","ssh_url":"git@github.com:PyGithub/PyGithub.git","clone_url":"https://github.com/PyGithub/PyGithub.git","svn_url":"https://github.com/PyGithub/PyGithub","homepage":"https://pygithub.readthedocs.io/","size":15796,"stargazers_count":6627,"watchers_count":6627,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":true,"forks_count":1704,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":283,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":["github","github-api","pygithub","python"],"visibility":"public","forks":1704,"open_issues":283,"watchers":6627,"default_branch":"main","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true},"custom_properties":{},"organization":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","site_admin":false},"network_count":1704,"subscribers_count":111}

https
GET
api.github.com
None
/repos/PyGithub/PyGithub/issues/1136
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Server', 'GitHub.com'), ('Date', 'Sun, 24 Mar 2024 16:03:10 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"2c247e53efccb989fff0f942a0fdeca97bb8705c2124682f3b8c2e790d7b8370"'), ('Last-Modified', 'Sun, 24 Mar 2024 14:00:06 GMT'), ('github-authentication-token-expiration', '2024-04-02 20:01:36 +0200'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'issues=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4992'), ('X-RateLimit-Reset', '1711299465'), ('X-RateLimit-Used', '8'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'D99E:7415A:C681C:C78A4:66004EBE')]
{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","repository_url":"https://api.github.com/repos/PyGithub/PyGithub","labels_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136/labels{/name}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136/comments","events_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136/events","html_url":"https://github.com/PyGithub/PyGithub/issues/1136","id":454822411,"node_id":"MDU6SXNzdWU0NTQ4MjI0MTE=","number":1136,"title":"Paginated list reversed only gives the first page of results backwards","user":{"login":"micahsteinberg","id":31256235,"node_id":"MDQ6VXNlcjMxMjU2MjM1","avatar_url":"https://avatars.githubusercontent.com/u/31256235?v=4","gravatar_id":"","url":"https://api.github.com/users/micahsteinberg","html_url":"https://github.com/micahsteinberg","followers_url":"https://api.github.com/users/micahsteinberg/followers","following_url":"https://api.github.com/users/micahsteinberg/following{/other_user}","gists_url":"https://api.github.com/users/micahsteinberg/gists{/gist_id}","starred_url":"https://api.github.com/users/micahsteinberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micahsteinberg/subscriptions","organizations_url":"https://api.github.com/users/micahsteinberg/orgs","repos_url":"https://api.github.com/users/micahsteinberg/repos","events_url":"https://api.github.com/users/micahsteinberg/events{/privacy}","received_events_url":"https://api.github.com/users/micahsteinberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-06-11T17:47:23Z","updated_at":"2024-03-24T14:00:06Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"When I do\r\n```\r\ng = Github(\"xxx\")\r\nrepo = g.get_repo(\"xxx\")\r\n\r\nfor comm in repo.get_commits(since=datetime).reversed:\r\n    ....\r\n```\r\nit only goes through the most recent 30 results in reverse order.\r\n\r\nI was able to fix this with\r\n```\r\ndef reverse_github_results(paginated_list):\r\n    for i in range(paginated_list.totalCount//30, -1, -1):\r\n        page = paginated_list.get_page(i)\r\n        page.reverse()\r\n        for item in page:\r\n            yield item\r\n```\r\nbut this possibly runs a bit slower and I thought I should let you guys know\r\n","closed_by":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136/reactions","total_count":7,"+1":7,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136/timeline","performed_via_github_app":null,"state_reason":"reopened"}

https
GET
api.github.com
None
/repos/PyGithub/PyGithub/issues/1136/comments?per_page=3
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Server', 'GitHub.com'), ('Date', 'Sun, 24 Mar 2024 16:03:10 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"57c5d41745d1850a5668491fc82543958ec801d97e5eeb55f7f8da49da691fce"'), ('github-authentication-token-expiration', '2024-04-02 20:01:36 +0200'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=2>; rel="next", <https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=3>; rel="last"'), ('x-accepted-github-permissions', 'issues=read; pull_requests=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4991'), ('X-RateLimit-Reset', '1711299465'), ('X-RateLimit-Used', '9'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'D9A4:1F911C:EB7E3:ECB7A:66004EBE')]
[{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/520169504","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-520169504","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":520169504,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMDE2OTUwNA==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-08-10T18:16:46Z","updated_at":"2019-08-10T18:16:46Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/520169504/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null},{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/1879739410","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-1879739410","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":1879739410,"node_id":"IC_kwDOADYVqs5wCowS","user":{"login":"engn33r","id":6261182,"node_id":"MDQ6VXNlcjYyNjExODI=","avatar_url":"https://avatars.githubusercontent.com/u/6261182?v=4","gravatar_id":"","url":"https://api.github.com/users/engn33r","html_url":"https://github.com/engn33r","followers_url":"https://api.github.com/users/engn33r/followers","following_url":"https://api.github.com/users/engn33r/following{/other_user}","gists_url":"https://api.github.com/users/engn33r/gists{/gist_id}","starred_url":"https://api.github.com/users/engn33r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engn33r/subscriptions","organizations_url":"https://api.github.com/users/engn33r/orgs","repos_url":"https://api.github.com/users/engn33r/repos","events_url":"https://api.github.com/users/engn33r/events{/privacy}","received_events_url":"https://api.github.com/users/engn33r/received_events","type":"User","site_admin":false},"created_at":"2024-01-06T16:04:34Z","updated_at":"2024-01-06T16:04:34Z","author_association":"NONE","body":"This was still an issue with v2.1.1 but the fix above worked for me :+1:\r\n\r\nIt would be great if this could be fixed in the library itself, with an example showing reversed usage in the docs.","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/1879739410/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null},{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/1879763065","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-1879763065","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":1879763065,"node_id":"IC_kwDOADYVqs5wCuh5","user":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","site_admin":false},"created_at":"2024-01-06T17:34:11Z","updated_at":"2024-01-06T17:36:10Z","author_association":"COLLABORATOR","body":"I'd be surprised this does not work, there are some unit tests that cover this. Maybe test data have to be recorded again. Reopening, contribution welcome.","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/1879763065/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}]

https
GET
api.github.com
None
/repositories/3544490/issues/1136/comments?per_page=3&page=3
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Server', 'GitHub.com'), ('Date', 'Sun, 24 Mar 2024 16:03:11 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"96b8b7b7d4b0d49be94be5c2cc20e610609885e3e1f73c2d6458eb7d33286eb0"'), ('github-authentication-token-expiration', '2024-04-02 20:01:36 +0200'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=2>; rel="prev", <https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=1>; rel="first"'), ('x-accepted-github-permissions', 'issues=read; pull_requests=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4990'), ('X-RateLimit-Reset', '1711299465'), ('X-RateLimit-Used', '10'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'D9AA:1F911C:EBB04:ECE9D:66004EBE')]
[{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/2016818677","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-2016818677","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":2016818677,"node_id":"IC_kwDOADYVqs54NjX1","user":{"login":"engn33r","id":6261182,"node_id":"MDQ6VXNlcjYyNjExODI=","avatar_url":"https://avatars.githubusercontent.com/u/6261182?v=4","gravatar_id":"","url":"https://api.github.com/users/engn33r","html_url":"https://github.com/engn33r","followers_url":"https://api.github.com/users/engn33r/followers","following_url":"https://api.github.com/users/engn33r/following{/other_user}","gists_url":"https://api.github.com/users/engn33r/gists{/gist_id}","starred_url":"https://api.github.com/users/engn33r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engn33r/subscriptions","organizations_url":"https://api.github.com/users/engn33r/orgs","repos_url":"https://api.github.com/users/engn33r/repos","events_url":"https://api.github.com/users/engn33r/events{/privacy}","received_events_url":"https://api.github.com/users/engn33r/received_events","type":"User","site_admin":false},"created_at":"2024-03-24T13:58:57Z","updated_at":"2024-03-24T14:00:06Z","author_association":"NONE","body":"For reference, I did not set `per_page` so I was using the default of 30 when I encountered this issue. But I was testing on only one repo with over 30 issues. It could make sense to test with repos with different numbers of issues to see if that is a factor.","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/2016818677/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}]

https
GET
api.github.com
None
/repositories/3544490/issues/1136/comments?per_page=3&page=2
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Server', 'GitHub.com'), ('Date', 'Sun, 24 Mar 2024 16:03:11 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"2da0c87bcdd4e81333c2bcff3919dd02c1f530d83d1f8b34300ce6bd4fcaea47"'), ('github-authentication-token-expiration', '2024-04-02 20:01:36 +0200'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=1>; rel="prev", <https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=3>; rel="next", <https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=3>; rel="last", <https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=1>; rel="first"'), ('x-accepted-github-permissions', 'issues=read; pull_requests=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4989'), ('X-RateLimit-Reset', '1711299465'), ('X-RateLimit-Used', '11'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'D9B0:1444A0:581646C:5894CA8:66004EBF')]
[{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/2009839192","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-2009839192","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":2009839192,"node_id":"IC_kwDOADYVqs53y7ZY","user":{"login":"etiennnr","id":36542216,"node_id":"MDQ6VXNlcjM2NTQyMjE2","avatar_url":"https://avatars.githubusercontent.com/u/36542216?v=4","gravatar_id":"","url":"https://api.github.com/users/etiennnr","html_url":"https://github.com/etiennnr","followers_url":"https://api.github.com/users/etiennnr/followers","following_url":"https://api.github.com/users/etiennnr/following{/other_user}","gists_url":"https://api.github.com/users/etiennnr/gists{/gist_id}","starred_url":"https://api.github.com/users/etiennnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etiennnr/subscriptions","organizations_url":"https://api.github.com/users/etiennnr/orgs","repos_url":"https://api.github.com/users/etiennnr/repos","events_url":"https://api.github.com/users/etiennnr/events{/privacy}","received_events_url":"https://api.github.com/users/etiennnr/received_events","type":"User","site_admin":false},"created_at":"2024-03-20T15:24:15Z","updated_at":"2024-03-20T15:24:15Z","author_association":"NONE","body":"Can confirm this is still a problem for me, using version `1.59.1` though","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/2009839192/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null},{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/2011931389","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-2011931389","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":2011931389,"node_id":"IC_kwDOADYVqs5366L9","user":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","site_admin":false},"created_at":"2024-03-21T10:55:14Z","updated_at":"2024-03-21T10:55:14Z","author_association":"COLLABORATOR","body":"Can you confirm with latest release?","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/2011931389/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null},{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/2012384661","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-2012384661","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":2012384661,"node_id":"IC_kwDOADYVqs538o2V","user":{"login":"etiennnr","id":36542216,"node_id":"MDQ6VXNlcjM2NTQyMjE2","avatar_url":"https://avatars.githubusercontent.com/u/36542216?v=4","gravatar_id":"","url":"https://api.github.com/users/etiennnr","html_url":"https://github.com/etiennnr","followers_url":"https://api.github.com/users/etiennnr/followers","following_url":"https://api.github.com/users/etiennnr/following{/other_user}","gists_url":"https://api.github.com/users/etiennnr/gists{/gist_id}","starred_url":"https://api.github.com/users/etiennnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etiennnr/subscriptions","organizations_url":"https://api.github.com/users/etiennnr/orgs","repos_url":"https://api.github.com/users/etiennnr/repos","events_url":"https://api.github.com/users/etiennnr/events{/privacy}","received_events_url":"https://api.github.com/users/etiennnr/received_events","type":"User","site_admin":false},"created_at":"2024-03-21T14:02:22Z","updated_at":"2024-03-21T14:02:22Z","author_association":"NONE","body":"Yes, Just tried with v.2.2.0 and got the same result\r\n\r\nHowever, my \"global\" `per_page` setting is set to 40. I tried setting it back to the default (30), and then it actually started from the last item of the `PaginatedList`! \r\n\r\nSo this actually seem to be somehow related to how the `reversed` algorithm deals with a different from the default `per_page` setting.","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/2012384661/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}]

https
GET
api.github.com
None
/repositories/3544490/issues/1136/comments?per_page=3&page=1
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Server', 'GitHub.com'), ('Date', 'Sun, 24 Mar 2024 16:03:11 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"57c5d41745d1850a5668491fc82543958ec801d97e5eeb55f7f8da49da691fce"'), ('github-authentication-token-expiration', '2024-04-02 20:01:36 +0200'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=2>; rel="next", <https://api.github.com/repositories/3544490/issues/1136/comments?per_page=3&page=3>; rel="last"'), ('x-accepted-github-permissions', 'issues=read; pull_requests=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4988'), ('X-RateLimit-Reset', '1711299465'), ('X-RateLimit-Used', '12'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'D9BC:7F0BF:891A4:89D38:66004EBF')]
[{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/520169504","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-520169504","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":520169504,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMDE2OTUwNA==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-08-10T18:16:46Z","updated_at":"2019-08-10T18:16:46Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/520169504/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null},{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/1879739410","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-1879739410","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":1879739410,"node_id":"IC_kwDOADYVqs5wCowS","user":{"login":"engn33r","id":6261182,"node_id":"MDQ6VXNlcjYyNjExODI=","avatar_url":"https://avatars.githubusercontent.com/u/6261182?v=4","gravatar_id":"","url":"https://api.github.com/users/engn33r","html_url":"https://github.com/engn33r","followers_url":"https://api.github.com/users/engn33r/followers","following_url":"https://api.github.com/users/engn33r/following{/other_user}","gists_url":"https://api.github.com/users/engn33r/gists{/gist_id}","starred_url":"https://api.github.com/users/engn33r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engn33r/subscriptions","organizations_url":"https://api.github.com/users/engn33r/orgs","repos_url":"https://api.github.com/users/engn33r/repos","events_url":"https://api.github.com/users/engn33r/events{/privacy}","received_events_url":"https://api.github.com/users/engn33r/received_events","type":"User","site_admin":false},"created_at":"2024-01-06T16:04:34Z","updated_at":"2024-01-06T16:04:34Z","author_association":"NONE","body":"This was still an issue with v2.1.1 but the fix above worked for me :+1:\r\n\r\nIt would be great if this could be fixed in the library itself, with an example showing reversed usage in the docs.","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/1879739410/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null},{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/1879763065","html_url":"https://github.com/PyGithub/PyGithub/issues/1136#issuecomment-1879763065","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/1136","id":1879763065,"node_id":"IC_kwDOADYVqs5wCuh5","user":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","site_admin":false},"created_at":"2024-01-06T17:34:11Z","updated_at":"2024-01-06T17:36:10Z","author_association":"COLLABORATOR","body":"I'd be surprised this does not work, there are some unit tests that cover this. Maybe test data have to be recorded again. Reopening, contribution welcome.","reactions":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/1879763065/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}]
