| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6f200f51-fe84-d306-fb78-5f8de5d3f21f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C39C:F56F6:24087F:318C27:6B00B018 |
| html-safe-nonce | e05739895ed7add6e53be98243b6874d74f8e854687af4e9b748ef82ba68e67f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzlDOkY1NkY2OjI0MDg3RjozMThDMjc6NkIwMEIwMTgiLCJ2aXNpdG9yX2lkIjoiMTA1ODMwNzgzOTM0MjE5NDcxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2bb4cc3df2620cde36c8aea3bb1082b162c1cc643f17bd846d8127cc57d5815b |
| hovercard-subject-tag | pull_request:375832502 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/gitpython-developers/gitdb/pull/56/files |
| twitter:image | https://avatars.githubusercontent.com/u/9403740?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9403740?s=400&v=4 |
| og:image:alt | This PR removes and replaces Python 2 compatibility shims, since Python 2 support was dropped with c880f6b in 3.0.0:
Remove compat.memoryview and compat.PY3
Remove and replace compat.buffer and co... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/gitpython-developers/gitdb git https://github.com/gitpython-developers/gitdb.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126093 |
| octolytics-dimension-repository_nwo | gitpython-developers/gitdb |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126093 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/gitdb |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 729d8cda69b3d267995675dfbf89ff27ccf61bf6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/gitpython-developers/gitdb/pull/56/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2Fgitdb%2Fpull%2F56%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2Fgitdb%2Fpull%2F56%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=gitpython-developers%2Fgitdb |
| Reload | https://github.com/gitpython-developers/gitdb/pull/56/files |
| Reload | https://github.com/gitpython-developers/gitdb/pull/56/files |
| Reload | https://github.com/gitpython-developers/gitdb/pull/56/files |
| gitpython-developers | https://github.com/gitpython-developers |
| gitdb | https://github.com/gitpython-developers/gitdb |
| Code | https://github.com/gitpython-developers/gitdb |
| Issues6 (6) | https://github.com/gitpython-developers/gitdb/issues |
| Pull requests | https://github.com/gitpython-developers/gitdb/pulls |
| Discussions | https://github.com/gitpython-developers/gitdb/discussions |
| Actions | https://github.com/gitpython-developers/gitdb/actions |
| Security and quality | https://github.com/gitpython-developers/gitdb/security |
| Insights | https://github.com/gitpython-developers/gitdb/insights |
| Byron | https://github.com/Byron |
| gitpython-developers:master | https://github.com/gitpython-developers/gitdb/tree/master |
| Harmon758:python-2-support-removal | https://github.com/Harmon758/gitdb/tree/python-2-support-removal |
|
Conversation
1
| https://github.com/gitpython-developers/gitdb/pull/56 |
|
Commits
10
| https://github.com/gitpython-developers/gitdb/pull/56/commits |
|
Checks
0
| https://github.com/gitpython-developers/gitdb/pull/56/checks |
|
Files changed
| https://github.com/gitpython-developers/gitdb/pull/56/files |
| Please reload this page | https://github.com/gitpython-developers/gitdb/pull/56/files |
|
Remove Python 2 compatibility shims
| https://github.com/gitpython-developers/gitdb/pull/56/files#top |
|
Show all changes
10 commits
| https://github.com/gitpython-developers/gitdb/pull/56/files |
|
58bce6b
Remove and replace compat.izip
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/58bce6bd1051e4fd5df7c5c8123a1783cc6e9f84 |
|
73a9f79
Remove and replace izip in TestPack
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/73a9f7965139e319446c04bbcc9794a8db0de45a |
|
4a692fd
Remove and replace compat.xrange
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/4a692fdd43e67810509b1c1843fa203714b14f0e |
|
3d14cc8
Remove and replace compat.buffer
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/3d14cc84b0a5e42d755d24d77a6e4af6bea8c3c1 |
|
d1c20d5
Remove compat.memoryview
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/d1c20d559a1f264dad12d1033a052ffc1c159260 |
|
59c053e
Remove and replace compat.to_bytes
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/59c053ee05d6e5f50f8699260aa0e362b567c033 |
|
321c3b4
Remove and replace compat.MAXSIZE
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/321c3b46b4792cf83bf0c5814d5a1a43cdf6933d |
|
c412680
Remove and replace encoding.string_types
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/c41268071bba593cecd420c400603e094f40a6dc |
|
77dc809
Remove and replace encoding.text_type
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/77dc809542d15c40dbe60ff55cd830082c3ad904 |
|
db9a65e
Remove compat.PY3
Harmon758 Feb 16, 2020
| https://github.com/gitpython-developers/gitdb/pull/56/commits/db9a65e3b0eceb9c52359273afb3313860e5e322 |
|
Clear filters
| https://github.com/gitpython-developers/gitdb/pull/56/files |
| Please reload this page | https://github.com/gitpython-developers/gitdb/pull/56/files |
| Please reload this page | https://github.com/gitpython-developers/gitdb/pull/56/files |
|
loose.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-42d81ea1bcf523de4d1c8eb4f7477e0b6ba567a9255f5688bab08a1b578bdac1 |
|
pack.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-dfeadb5646d6cf2d2f8eef35973a9b15cbbfed63670fd0d997f2ae3e626ecfe1 |
|
fun.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
pack.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-6e324c89bab76a2decc5aabc5173f9a6fee57a923935323ba1eae13628fc3540 |
|
stream.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-f6440f5e0cda5d1378b640ec31f3af66718c868057a5b4971612a2bc0bc8a563 |
|
lib.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-0015d5809ab50abad4dbe254f74c3778772da3072f7e6dac926d6910f6d12b36 |
|
lib.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-f4699ab918a2b8d93aa4e9364bee1e99d0b21f8d0e34c9bf13ec7368a33f4bab |
|
test_pack.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-ceb333c42c60e67271e75f4b9e87a16bc2e63b2a51d94f55a7f068ffd79a00fb |
|
test_pack.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-381a53e3e49e9b8e643191d0e14b4a9a34a7472a6b180e4c3010250a485cb610 |
|
compat.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-12cb0eabddef9b34bb23fd61533abcda8163359cd7fde914be79f9ad0d775136 |
|
encoding.py
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-b7ffdcd1be8bbc29b1b33c9a950d036872a9b862c71aace46158b38bb0954894 |
| gitdb/db/loose.py | https://github.com/gitpython-developers/gitdb/pull/56/files#diff-42d81ea1bcf523de4d1c8eb4f7477e0b6ba567a9255f5688bab08a1b578bdac1 |
|
View file
| https://github.com/Harmon758/gitdb/blob/db9a65e3b0eceb9c52359273afb3313860e5e322/gitdb/db/loose.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/gitdb/pull/56/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-42d81ea1bcf523de4d1c8eb4f7477e0b6ba567a9255f5688bab08a1b578bdac1 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-42d81ea1bcf523de4d1c8eb4f7477e0b6ba567a9255f5688bab08a1b578bdac1 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-42d81ea1bcf523de4d1c8eb4f7477e0b6ba567a9255f5688bab08a1b578bdac1 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-42d81ea1bcf523de4d1c8eb4f7477e0b6ba567a9255f5688bab08a1b578bdac1 |
| gitdb/db/pack.py | https://github.com/gitpython-developers/gitdb/pull/56/files#diff-dfeadb5646d6cf2d2f8eef35973a9b15cbbfed63670fd0d997f2ae3e626ecfe1 |
|
View file
| https://github.com/Harmon758/gitdb/blob/db9a65e3b0eceb9c52359273afb3313860e5e322/gitdb/db/pack.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/gitdb/pull/56/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-dfeadb5646d6cf2d2f8eef35973a9b15cbbfed63670fd0d997f2ae3e626ecfe1 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-dfeadb5646d6cf2d2f8eef35973a9b15cbbfed63670fd0d997f2ae3e626ecfe1 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-dfeadb5646d6cf2d2f8eef35973a9b15cbbfed63670fd0d997f2ae3e626ecfe1 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-dfeadb5646d6cf2d2f8eef35973a9b15cbbfed63670fd0d997f2ae3e626ecfe1 |
| gitdb/fun.py | https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
View file
| https://github.com/Harmon758/gitdb/blob/db9a65e3b0eceb9c52359273afb3313860e5e322/gitdb/fun.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/gitdb/pull/56/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
|
| https://github.com/gitpython-developers/gitdb/pull/56/files#diff-58aebf5ebed6653b7513ceebaaa611472a1efebfd1769942d5ac272f2a4d0d82 |
| Please reload this page | https://github.com/gitpython-developers/gitdb/pull/56/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |