| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4d75f4e8-a47b-4eb1-0cf1-771b2179b94f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDB4:143438:4C9E6:66FF6:6A52D8B5 |
| html-safe-nonce | ff087faa6b5219084fe08dfd40d9e1a987a95874dc080227c85e0f7aa586bf58 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREI0OjE0MzQzODo0QzlFNjo2NkZGNjo2QTUyRDhCNSIsInZpc2l0b3JfaWQiOiI3MTMzNjk4MzE1NDM1MzAxMDQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4878e4eba0b284949512e6f58b6d60c3119898a7769c9b541760ef0b315f8d46 |
| hovercard-subject-tag | pull_request:1998022607 |
| 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/122547/files |
| twitter:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| og:image:alt | Using a cache invalidation approach is probably better than querying the new results every time. At least, it will not cause any breaking change.
Issue: gh-122549
📚 Documentation preview 📚: h... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/122547/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122547%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F122547%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/122547/files |
| Reload | https://github.com/python/cpython/pull/122547/files |
| Reload | https://github.com/python/cpython/pull/122547/files |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:platform-invalidate-cache | https://github.com/picnixz/cpython/tree/platform-invalidate-cache |
|
Conversation
27
| https://github.com/python/cpython/pull/122547 |
|
Commits
9
| https://github.com/python/cpython/pull/122547/commits |
|
Checks
0
| https://github.com/python/cpython/pull/122547/checks |
|
Files changed
| https://github.com/python/cpython/pull/122547/files |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
|
gh-122549: Allow to invalidate platform's cached results
| https://github.com/python/cpython/pull/122547/files#top |
|
Show all changes
9 commits
| https://github.com/python/cpython/pull/122547/files |
|
85a5629
allow to invalidate platform's information caches
picnixz Aug 1, 2024
| https://github.com/python/cpython/pull/122547/commits/85a5629954671c46cf25c63067f3a1b1f7d96ac3 |
|
992b561
add test
picnixz Aug 1, 2024
| https://github.com/python/cpython/pull/122547/commits/992b5619d92af92d6f69f381462ae02f632c5f11 |
|
2b89d91
add docs
picnixz Aug 1, 2024
| https://github.com/python/cpython/pull/122547/commits/2b89d91ad4a215daf128da7fca861ed0d752664b |
|
8f87179
add NEWS
picnixz Aug 1, 2024
| https://github.com/python/cpython/pull/122547/commits/8f871795408503ecb237fa02200e7357d41d26bd |
|
2d9f328
add What's New
picnixz Aug 1, 2024
| https://github.com/python/cpython/pull/122547/commits/2d9f32863324326a0bd5f685bf9f687d098d9448 |
|
8aeccdb
update issue numbers
picnixz Aug 1, 2024
| https://github.com/python/cpython/pull/122547/commits/8aeccdb99a1d9071843cc17fda9ea129801dc0b9 |
|
ce3201b
fix typo
picnixz Aug 1, 2024
| https://github.com/python/cpython/pull/122547/commits/ce3201ba10fd1be2da1d2b07edf1d42e20fb01b1 |
|
42668a3
Merge remote-tracking branch 'upstream/main' into platform-invalidate…
picnixz Aug 26, 2024
| https://github.com/python/cpython/pull/122547/commits/42668a3b03d9e4eb6b4ea7a3cdd4c3c3cf38a2cc |
|
4558e85
Merge branch 'main' into platform-invalidate-cache
picnixz Nov 15, 2024
| https://github.com/python/cpython/pull/122547/commits/4558e855ba00d895341a986ef40df93ec9619a0c |
|
Clear filters
| https://github.com/python/cpython/pull/122547/files |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
|
platform.rst
| https://github.com/python/cpython/pull/122547/files#diff-ebddb0d5cedd8047769d7907a0130eefa4cb9ab7bd0acc8fc84f0b13213d5a47 |
|
3.14.rst
| https://github.com/python/cpython/pull/122547/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31 |
|
platform.py
| https://github.com/python/cpython/pull/122547/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
test_platform.py
| https://github.com/python/cpython/pull/122547/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
|
2024-08-01-11-15-55.gh-issue-122549.ztV4Kz.rst
| https://github.com/python/cpython/pull/122547/files#diff-61ebf4d59282fe82f93b28faea5d66c5238baf0c41e906588cedd87f025ef680 |
| Doc/library/platform.rst | https://github.com/python/cpython/pull/122547/files#diff-ebddb0d5cedd8047769d7907a0130eefa4cb9ab7bd0acc8fc84f0b13213d5a47 |
|
View file
| https://github.com/picnixz/cpython/blob/4558e855ba00d895341a986ef40df93ec9619a0c/Doc/library/platform.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/122547/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/122547/files#diff-ebddb0d5cedd8047769d7907a0130eefa4cb9ab7bd0acc8fc84f0b13213d5a47 |
| picnixz | https://github.com/picnixz |
| Nov 16, 2024 | https://github.com/python/cpython/pull/122547/files#r1844963275 |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
| vstinner | https://github.com/vstinner |
| Nov 18, 2024 | https://github.com/python/cpython/pull/122547/files#r1846044266 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
| picnixz | https://github.com/picnixz |
| Nov 18, 2024 | https://github.com/python/cpython/pull/122547/files#r1846046757 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116 |
| Doc/whatsnew/3.14.rst | https://github.com/python/cpython/pull/122547/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31 |
|
View file
| https://github.com/picnixz/cpython/blob/4558e855ba00d895341a986ef40df93ec9619a0c/Doc/whatsnew/3.14.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/122547/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/122547/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31 |
|
| https://github.com/python/cpython/pull/122547/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31 |
| Lib/platform.py | https://github.com/python/cpython/pull/122547/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
View file
| https://github.com/picnixz/cpython/blob/4558e855ba00d895341a986ef40df93ec9619a0c/Lib/platform.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/122547/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/122547/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/122547/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/122547/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/122547/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/122547/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
| Please reload this page | https://github.com/python/cpython/pull/122547/files |
|
| https://github.com/python/cpython/pull/122547/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
| Lib/test/test_platform.py | https://github.com/python/cpython/pull/122547/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
|
View file
| https://github.com/picnixz/cpython/blob/4558e855ba00d895341a986ef40df93ec9619a0c/Lib/test/test_platform.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/122547/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/122547/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
|
| https://github.com/python/cpython/pull/122547/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
| Misc/NEWS.d/next/Library/2024-08-01-11-15-55.gh-issue-122549.ztV4Kz.rst | https://github.com/python/cpython/pull/122547/files#diff-61ebf4d59282fe82f93b28faea5d66c5238baf0c41e906588cedd87f025ef680 |
|
View file
| https://github.com/picnixz/cpython/blob/4558e855ba00d895341a986ef40df93ec9619a0c/Misc/NEWS.d/next/Library/2024-08-01-11-15-55.gh-issue-122549.ztV4Kz.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/122547/{{ revealButtonHref }} |
|
| 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 |