| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0773c45d-5091-8c13-a83e-ed1f3355ec7f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B174:333370:9C97BC:D820E2:696A2818 |
| html-safe-nonce | aeae63cba7cba0a305eb360a567a5cf06cd8f42cbd5f1b15d2893703753c64f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTc0OjMzMzM3MDo5Qzk3QkM6RDgyMEUyOjY5NkEyODE4IiwidmlzaXRvcl9pZCI6IjI3ODg4MjI1NzA0NjQ4MDkyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6fae6aea1a620e663a4b09392ccd305a8e032a4d6028c7a5d6acaf945c392244 |
| hovercard-subject-tag | pull_request:1213988817 |
| 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/python/cpython/pull/101264/files |
| twitter:image | https://avatars.githubusercontent.com/u/24194934?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/24194934?s=400&v=4 |
| og:image:alt | Issue: gh-84783 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/101264/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101264%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101264%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=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/101264/files |
| Reload | https://github.com/python/cpython/pull/101264/files |
| Reload | https://github.com/python/cpython/pull/101264/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/101264/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/101264/files |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| rhettinger | https://github.com/rhettinger |
| python:main | https://github.com/python/cpython/tree/main |
| furkanonder:issue-84783 | https://github.com/furkanonder/cpython/tree/issue-84783 |
|
Conversation
18
| https://github.com/python/cpython/pull/101264 |
|
Commits
15
| https://github.com/python/cpython/pull/101264/commits |
|
Checks
0
| https://github.com/python/cpython/pull/101264/checks |
|
Files changed
| https://github.com/python/cpython/pull/101264/files |
| Please reload this page | https://github.com/python/cpython/pull/101264/files |
|
GH-84783: Make the slice object hashable
| https://github.com/python/cpython/pull/101264/files#top |
|
Show all changes
15 commits
| https://github.com/python/cpython/pull/101264/files |
|
61c8048
fix the typo in the tuplehash func's comment
furkanonder Jan 23, 2023
| https://github.com/python/cpython/pull/101264/commits/61c8048bfde17519b10b6bd7be0a37650e454bcb |
|
ef22a92
make hashable the slice
furkanonder Jan 23, 2023
| https://github.com/python/cpython/pull/101264/commits/ef22a9236526adc3e5bbd03f661814bb0cce61c0 |
|
12c2488
Merge branch 'main' into issue-84783
furkanonder Jan 23, 2023
| https://github.com/python/cpython/pull/101264/commits/12c24886bc3ae6e813fd421e0ca896cc8a2fad49 |
|
6dd9926
Merge branch 'main' into issue-84783
furkanonder Jan 25, 2023
| https://github.com/python/cpython/pull/101264/commits/6dd9926376eb5c7757329e4cb640539b2bd1fe8f |
|
886bfff
fix failed slice's test cases
furkanonder Feb 11, 2023
| https://github.com/python/cpython/pull/101264/commits/886bffff8b3bbe7c7ba47c201d20507f5506907e |
|
2971147
Merge branch 'main' into issue-84783
furkanonder Feb 11, 2023
| https://github.com/python/cpython/pull/101264/commits/2971147f775c2b7e352ccafb15c238ad327b5263 |
|
093bf38
📜🤖 Added by blurb_it.
blurb-it[bot] Feb 11, 2023
| https://github.com/python/cpython/pull/101264/commits/093bf38474239adde1138fb90d6c7836cdfb80c3 |
|
159f3f2
Add version changed to slice's doc
furkanonder Feb 11, 2023
| https://github.com/python/cpython/pull/101264/commits/159f3f2115cc88ba4ea7915c95b14ff839e8e4f6 |
|
0c78cfc
Update test_doctest.py
OTheDev Feb 12, 2023
| https://github.com/python/cpython/pull/101264/commits/0c78cfc962e1d01ac2a01cb607b0775c914b6ed1 |
|
cff08dd
Update Doc/library/functions.rst
furkanonder Feb 12, 2023
| https://github.com/python/cpython/pull/101264/commits/cff08ddc407f6e948a1e2ed4fc41d80f73ba48c5 |
|
ea55931
Merge branch 'main' into issue-84783
furkanonder Feb 12, 2023
| https://github.com/python/cpython/pull/101264/commits/ea5593181cc4e92bd701aabd63491ce58efdd333 |
|
f0302bf
Update version changed to slice's doc
furkanonder Feb 12, 2023
| https://github.com/python/cpython/pull/101264/commits/f0302bf776ec804630c75f6daf50e888b863143b |
|
2c76491
Merge pull request #1 from OTheDev/patch-1
furkanonder Feb 12, 2023
| https://github.com/python/cpython/pull/101264/commits/2c764915199ed9fdd3ecd27ca0e352d2b0c29752 |
|
cbd1527
Add more testcases for slice's hash
furkanonder Feb 12, 2023
| https://github.com/python/cpython/pull/101264/commits/cbd15271020a756fcd0f321bfb8526f9fa9fcf56 |
|
9f55e46
update testcases for slice's hash
furkanonder Feb 13, 2023
| https://github.com/python/cpython/pull/101264/commits/9f55e46dbe64036271338d7108ca76709fcbfc10 |
|
Clear filters
| https://github.com/python/cpython/pull/101264/files |
| Please reload this page | https://github.com/python/cpython/pull/101264/files |
| Please reload this page | https://github.com/python/cpython/pull/101264/files |
|
functions.rst
| https://github.com/python/cpython/pull/101264/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
test_misc.py
| https://github.com/python/cpython/pull/101264/files#diff-4178d53cac5b09685584df43c65b66797dd4ca4df491b2081565d95ba90aaa36 |
|
test_doctest.py
| https://github.com/python/cpython/pull/101264/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7 |
|
test_slice.py
| https://github.com/python/cpython/pull/101264/files#diff-fa82df67511827f60859d481661e5514a18de46d82690f0aadd48194e60654a7 |
|
2023-02-11-23-14-06.gh-issue-84783._P5sMa.rst
| https://github.com/python/cpython/pull/101264/files#diff-b54e9d19aa8add098d91b4d4abc5420531f10b5d2114fb5b29cd5e8188de4f75 |
|
sliceobject.c
| https://github.com/python/cpython/pull/101264/files#diff-5cceaa60ecfa8dcd05c59b973244915a7b9869ecd8c84e6636df56ddddb87c0f |
|
tupleobject.c
| https://github.com/python/cpython/pull/101264/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
| Doc/library/functions.rst | https://github.com/python/cpython/pull/101264/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
View file
| https://github.com/furkanonder/cpython/blob/9f55e46dbe64036271338d7108ca76709fcbfc10/Doc/library/functions.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101264/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/101264/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
| https://github.com/python/cpython/pull/101264/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L349 |
| Lib/test/test_capi/test_misc.py | https://github.com/python/cpython/pull/101264/files#diff-4178d53cac5b09685584df43c65b66797dd4ca4df491b2081565d95ba90aaa36 |
|
View file
| https://github.com/furkanonder/cpython/blob/9f55e46dbe64036271338d7108ca76709fcbfc10/Lib/test/test_capi/test_misc.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101264/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/101264/files#diff-4178d53cac5b09685584df43c65b66797dd4ca4df491b2081565d95ba90aaa36 |
|
| https://github.com/python/cpython/pull/101264/files#diff-4178d53cac5b09685584df43c65b66797dd4ca4df491b2081565d95ba90aaa36 |
|
| https://github.com/python/cpython/pull/101264/files#diff-4178d53cac5b09685584df43c65b66797dd4ca4df491b2081565d95ba90aaa36 |
|
| https://github.com/python/cpython/pull/101264/files#diff-4178d53cac5b09685584df43c65b66797dd4ca4df491b2081565d95ba90aaa36 |
| Lib/test/test_doctest.py | https://github.com/python/cpython/pull/101264/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7 |
|
View file
| https://github.com/furkanonder/cpython/blob/9f55e46dbe64036271338d7108ca76709fcbfc10/Lib/test/test_doctest.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101264/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/101264/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7 |
|
| https://github.com/python/cpython/pull/101264/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7 |
| Lib/test/test_slice.py | https://github.com/python/cpython/pull/101264/files#diff-fa82df67511827f60859d481661e5514a18de46d82690f0aadd48194e60654a7 |
|
View file
| https://github.com/furkanonder/cpython/blob/9f55e46dbe64036271338d7108ca76709fcbfc10/Lib/test/test_slice.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101264/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/101264/files#diff-fa82df67511827f60859d481661e5514a18de46d82690f0aadd48194e60654a7 |
| Please reload this page | https://github.com/python/cpython/pull/101264/files |
| Please reload this page | https://github.com/python/cpython/pull/101264/files |
|
| https://github.com/python/cpython/pull/101264/files#diff-fa82df67511827f60859d481661e5514a18de46d82690f0aadd48194e60654a7 |
| Misc/NEWS.d/next/Core and Builtins/2023-02-11-23-14-06.gh-issue-84783._P5sMa.rst | https://github.com/python/cpython/pull/101264/files#diff-b54e9d19aa8add098d91b4d4abc5420531f10b5d2114fb5b29cd5e8188de4f75 |
|
View file
| https://github.com/furkanonder/cpython/blob/9f55e46dbe64036271338d7108ca76709fcbfc10/Misc/NEWS.d/next/Core%20and%20Builtins/2023-02-11-23-14-06.gh-issue-84783._P5sMa.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101264/{{ revealButtonHref }} |
| Objects/sliceobject.c | https://github.com/python/cpython/pull/101264/files#diff-5cceaa60ecfa8dcd05c59b973244915a7b9869ecd8c84e6636df56ddddb87c0f |
|
View file
| https://github.com/furkanonder/cpython/blob/9f55e46dbe64036271338d7108ca76709fcbfc10/Objects/sliceobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101264/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/101264/files#diff-5cceaa60ecfa8dcd05c59b973244915a7b9869ecd8c84e6636df56ddddb87c0f |
| Please reload this page | https://github.com/python/cpython/pull/101264/files |
| Please reload this page | https://github.com/python/cpython/pull/101264/files |
|
| https://github.com/python/cpython/pull/101264/files#diff-5cceaa60ecfa8dcd05c59b973244915a7b9869ecd8c84e6636df56ddddb87c0f |
|
| https://github.com/python/cpython/pull/101264/files#diff-5cceaa60ecfa8dcd05c59b973244915a7b9869ecd8c84e6636df56ddddb87c0f |
| Objects/tupleobject.c | https://github.com/python/cpython/pull/101264/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
View file
| https://github.com/furkanonder/cpython/blob/9f55e46dbe64036271338d7108ca76709fcbfc10/Objects/tupleobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101264/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/101264/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
| https://github.com/python/cpython/pull/101264/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
| 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 |