| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a6f3218b-0151-ab2e-ef47-cf2d2c0b32fa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A640:28D973:86AC69:BE3BDA:696A5A6B |
| html-safe-nonce | 57903c56b480497111d4b64789b55a14c8c16bd689fbbcf12b3a66b61d477217 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjQwOjI4RDk3Mzo4NkFDNjk6QkUzQkRBOjY5NkE1QTZCIiwidmlzaXRvcl9pZCI6IjkxMDgzNTI0MjM1OTQ0NDk1MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ba7c93a19b6edc46967bb3c9f0c3fe960fecd9edb93a24749b379c8c92ab5970 |
| hovercard-subject-tag | pull_request:259558722 |
| 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/12239/files |
| twitter:image | https://avatars.githubusercontent.com/u/308610?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/308610?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue35967 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/12239/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F12239%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%2F12239%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/12239/files |
| Reload | https://github.com/python/cpython/pull/12239/files |
| Reload | https://github.com/python/cpython/pull/12239/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/12239/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/12239/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 |
| jaraco | https://github.com/jaraco |
| python:master | https://github.com/python/cpython/tree/master |
|
Conversation
6
| https://github.com/python/cpython/pull/12239 |
|
Commits
18
| https://github.com/python/cpython/pull/12239/commits |
|
Checks
0
| https://github.com/python/cpython/pull/12239/checks |
|
Files changed
| https://github.com/python/cpython/pull/12239/files |
| Please reload this page | https://github.com/python/cpython/pull/12239/files |
|
bpo-35967 resolve platform.processor late
| https://github.com/python/cpython/pull/12239/files#top |
|
Show all changes
18 commits
| https://github.com/python/cpython/pull/12239/files |
|
e2678d9
Replace flag-flip indirection with direct inspection
jaraco Mar 8, 2019
| https://github.com/python/cpython/pull/12239/commits/e2678d998aba6c9869554062d430508c6176d2b2 |
|
5d93954
Use any for simpler code
jaraco Mar 8, 2019
| https://github.com/python/cpython/pull/12239/commits/5d93954c09351a8e1408e1cc783ced36208b90db |
|
df39881
Avoid flag flip and set results directly.
jaraco Mar 8, 2019
| https://github.com/python/cpython/pull/12239/commits/df39881bf7b5a09719f972821cff9fc7088d77a6 |
|
da9976a
Resolve processor in a single function.
jaraco Mar 8, 2019
| https://github.com/python/cpython/pull/12239/commits/da9976a83210d2b0db12379bb819cdb860e67bbc |
|
ba99fb5
Extract processor handling into a namespace (class)
jaraco Mar 8, 2019
| https://github.com/python/cpython/pull/12239/commits/ba99fb5fb36c0ad53d4523d936ced55778168980 |
|
1385129
Remove _syscmd_uname, unused
jaraco Mar 8, 2019
| https://github.com/python/cpython/pull/12239/commits/1385129d25acd398e384a1d32a12077ed7bcd3a8 |
|
9a628c4
Restore platform.processor behavior to match prior expectation (relia…
jaraco Mar 8, 2019
| https://github.com/python/cpython/pull/12239/commits/9a628c4aeba7c174f3dbf829e7c84354880101f7 |
|
3977f63
Extract '_unknown_as_blank' function.
jaraco Mar 8, 2019
| https://github.com/python/cpython/pull/12239/commits/3977f638be7c2e124c3716dcd7a8101605af2906 |
|
acd024e
Override uname_result to resolve the processor late.
jaraco Mar 8, 2019
| https://github.com/python/cpython/pull/12239/commits/acd024e2d4aa56f13d7bc165d10a35510e83a12b |
|
9aacda9
Add a test intended to capture the expected values from 'uname -p'
jaraco Apr 14, 2019
| https://github.com/python/cpython/pull/12239/commits/9aacda974a322d76de9139f86eced861fca7bde0 |
|
aa29701
Instead of trying to keep track of all of the possible outputs on dif…
jaraco Apr 14, 2019
| https://github.com/python/cpython/pull/12239/commits/aa297014e2e88d0c1296ebc10d2209b9ae6ca2b3 |
|
01ac684
Use a skipIf directive
jaraco Apr 14, 2019
| https://github.com/python/cpython/pull/12239/commits/01ac684f72eb409337ef838489f75dd08990aef0 |
|
9df8602
Use contextlib.suppress to suppress the error. Inline strip call.
jaraco Apr 14, 2019
| https://github.com/python/cpython/pull/12239/commits/9df8602a562a2a30510d6451ff469635b350167d |
|
793ddce
Merge branch 'feature/35967-uname-processor-baseline-tests' into feat…
jaraco Apr 14, 2019
| https://github.com/python/cpython/pull/12239/commits/793ddce3fee9dff2a018b62ae55507405da5e379 |
|
ef4662d
📜🤖 Added by blurb_it.
blurb-it[bot] Apr 14, 2019
| https://github.com/python/cpython/pull/12239/commits/ef4662d9ae6e2408401c9a86ecff5ac23bbca274 |
|
77dabaf
Merge branch 'master' into feature/35967-platform-processor-resolved-…
jaraco Apr 15, 2020
| https://github.com/python/cpython/pull/12239/commits/77dabaf281614f6f0b894168b05151362365cdd2 |
|
f0daf49
Merge branch 'master' into feature/35967-platform-processor-resolved-…
jaraco Apr 16, 2020
| https://github.com/python/cpython/pull/12239/commits/f0daf49a6fc328cd959d235b19b2ae0de92ea4b8 |
|
d57e3ab
Remove use of contextlib.suppress (it would fail with NameError if it…
jaraco Apr 16, 2020
| https://github.com/python/cpython/pull/12239/commits/d57e3abcf0f923b88776337f9651c29428f2e16d |
|
Clear filters
| https://github.com/python/cpython/pull/12239/files |
| Please reload this page | https://github.com/python/cpython/pull/12239/files |
| Please reload this page | https://github.com/python/cpython/pull/12239/files |
|
platform.py
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
test_platform.py
| https://github.com/python/cpython/pull/12239/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
|
2019-04-14-14-11-07.bpo-35967.KUMT9E.rst
| https://github.com/python/cpython/pull/12239/files#diff-7b3f42dd6fb995b7047a0bbbfbbaa566c93402918b026bd9094ea50e79980846 |
| Lib/platform.py | https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
View file
| https://github.com/python/cpython/blob/d57e3abcf0f923b88776337f9651c29428f2e16d/Lib/platform.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/12239/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
|
| https://github.com/python/cpython/pull/12239/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503 |
| Lib/test/test_platform.py | https://github.com/python/cpython/pull/12239/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
|
View file
| https://github.com/python/cpython/blob/d57e3abcf0f923b88776337f9651c29428f2e16d/Lib/test/test_platform.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/12239/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/12239/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
|
| https://github.com/python/cpython/pull/12239/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
|
| https://github.com/python/cpython/pull/12239/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
|
| https://github.com/python/cpython/pull/12239/files#diff-894592671e2b62da7a88ead41c76b0fa35dbec0e17b8779ea0d11aea2657cb39 |
| Misc/NEWS.d/next/Library/2019-04-14-14-11-07.bpo-35967.KUMT9E.rst | https://github.com/python/cpython/pull/12239/files#diff-7b3f42dd6fb995b7047a0bbbfbbaa566c93402918b026bd9094ea50e79980846 |
|
View file
| https://github.com/python/cpython/blob/d57e3abcf0f923b88776337f9651c29428f2e16d/Misc/NEWS.d/next/Library/2019-04-14-14-11-07.bpo-35967.KUMT9E.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/12239/{{ 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 |