| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:c61f2590-3619-7968-7c27-8b3870888554 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E74A:8D142:7CA89B:A9EF3C:696AB266 |
| html-safe-nonce | a4981d5ec400eb95fd16156b94aaf749ce333be66b33b64e482c2483dfd723b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzRBOjhEMTQyOjdDQTg5QjpBOUVGM0M6Njk2QUIyNjYiLCJ2aXNpdG9yX2lkIjoiODg4Mjc5ODYwMzk3NzUzNjEwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4e1a0fd5c776d8b546d0d1332d94e40381f771ca32c86e58c6a857fdb6959cc1 |
| hovercard-subject-tag | pull_request:829534325 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/30794/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/dcf0e14021096b94429cac8d7007c1da000d232865fcf8b05266f5480e7db366/python/cpython/pull/30794 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dcf0e14021096b94429cac8d7007c1da000d232865fcf8b05266f5480e7db366/python/cpython/pull/30794 |
| og:image:alt | This PR fixes a portability bug in _Py_popcount32 that was introduced in GH-30774, and adds a comment explaining why the final line of the function is delicate.
Prior discussions:
bpo-29882: Add a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdickinson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/30794#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30794 |
| 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%2F30794 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/30794 |
| Reload | https://github.com/python/cpython/pull/30794 |
| Reload | https://github.com/python/cpython/pull/30794 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
|
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/30794 |
|
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 |
| Jump to bottom | https://github.com/python/cpython/pull/30794#issue-comment-box |
| mdickinson | https://github.com/mdickinson |
| python:main | https://github.com/python/cpython/tree/main |
| mdickinson:fix-popcount-portability | https://github.com/mdickinson/cpython/tree/fix-popcount-portability |
|
bpo-29882: Fix portability bug introduced in GH-30774
| https://github.com/python/cpython/pull/30794#top |
| mdickinson | https://github.com/mdickinson |
| python:main | https://github.com/python/cpython/tree/main |
| mdickinson:fix-popcount-portability | https://github.com/mdickinson/cpython/tree/fix-popcount-portability |
|
Conversation
7
| https://github.com/python/cpython/pull/30794 |
|
Commits
2
| https://github.com/python/cpython/pull/30794/commits |
|
Checks
0
| https://github.com/python/cpython/pull/30794/checks |
|
Files changed
| https://github.com/python/cpython/pull/30794/files |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/mdickinson |
| mdickinson | https://github.com/mdickinson |
| Jan 22, 2022 | https://github.com/python/cpython/pull/30794#issue-1111597407 |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
| GH-30774 | https://github.com/python/cpython/pull/30774 |
| bpo-29882: Add an efficient popcount method for integers #771 (comment) | https://github.com/python/cpython/pull/771#discussion_r432425043 |
| bpo-29882: Add _Py_popcount32() function #20518 (comment) | https://github.com/python/cpython/pull/20518#discussion_r432822005 |
| bpo-29882: _Py_popcount32() doesn't need 64x64 multiply #30774 (comment) | https://github.com/python/cpython/pull/30774#issuecomment-1019081989 |
| https://bugs.python.org/issue29882 | https://bugs.python.org/issue29882 |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
|
| https://github.com/mdickinson |
| bpo-29882: Fix portability bug introduced in | https://github.com/python/cpython/pull/30794/commits/ff5ba307aaa9989448110e98df0600ddab6e1da6 |
| pythonGH-30774 | https://github.com/python/cpython/pull/30774 |
| ff5ba30 | https://github.com/python/cpython/pull/30794/commits/ff5ba307aaa9989448110e98df0600ddab6e1da6 |
| https://github.com/mdickinson |
| mdickinson | https://github.com/mdickinson |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Jan 22, 2022 | https://github.com/python/cpython/pull/30794#event-5937046556 |
| https://github.com/mdickinson |
| mdickinson | https://github.com/mdickinson |
| vstinner | https://github.com/vstinner |
| January 22, 2022 15:26 | https://github.com/python/cpython/pull/30794#event-5937046975 |
| https://github.com/mdickinson |
| mdickinson | https://github.com/mdickinson |
|
Jan 22, 2022
| https://github.com/python/cpython/pull/30794#ref-pullrequest-1111027954 |
|
bpo-29882: _Py_popcount32() doesn't need 64x64 multiply
#30774
| https://github.com/python/cpython/pull/30774 |
| https://github.com/mdickinson |
| mdickinson | https://github.com/mdickinson |
|
skip issue
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22 |
|
skip issue
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22 |
| Jan 22, 2022 | https://github.com/python/cpython/pull/30794#event-5937077657 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Jan 22, 2022 | https://github.com/python/cpython/pull/30794#issuecomment-1019326160 |
| #30774 (comment) | https://github.com/python/cpython/pull/30774#issuecomment-1019278309 |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
| https://github.com/mdickinson |
| mdickinson | https://github.com/mdickinson |
| Jan 22, 2022 | https://github.com/python/cpython/pull/30794#issuecomment-1019330921 |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
|
| https://github.com/mdickinson |
| Add test for the value 2**28 + 1 | https://github.com/python/cpython/pull/30794/commits/58659fa7397d06627673f403938ba94c310fa6dc |
| 58659fa | https://github.com/python/cpython/pull/30794/commits/58659fa7397d06627673f403938ba94c310fa6dc |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Jan 22, 2022
| https://github.com/python/cpython/pull/30794#pullrequestreview-860248860 |
|
View reviewed changes
| https://github.com/python/cpython/pull/30794/files/58659fa7397d06627673f403938ba94c310fa6dc |
| vstinner | https://github.com/vstinner |
| https://github.com/python/cpython/pull/30794#pullrequestreview-860248860 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Jan 22, 2022 | https://github.com/python/cpython/pull/30794#event-5937538508 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Jan 22, 2022
| https://github.com/python/cpython/pull/30794#pullrequestreview-860248918 |
|
View reviewed changes
| https://github.com/python/cpython/pull/30794/files/58659fa7397d06627673f403938ba94c310fa6dc |
| Include/internal/pycore_bitutils.h | https://github.com/python/cpython/pull/30794/files/58659fa7397d06627673f403938ba94c310fa6dc#diff-475908a2e2415758b364235b5adc05545696e4d0f9265ae2dae34c6ad0e58c50 |
| vstinner | https://github.com/vstinner |
| Jan 22, 2022 | https://github.com/python/cpython/pull/30794#discussion_r790193787 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
| mdickinson | https://github.com/mdickinson |
| Jan 23, 2022 | https://github.com/python/cpython/pull/30794#discussion_r790253134 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @vstinner | https://github.com/vstinner |
| #30774 | https://github.com/python/cpython/pull/30774 |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
| https://github.com/tim-one |
| tim-one | https://github.com/tim-one |
|
Jan 22, 2022
| https://github.com/python/cpython/pull/30794#pullrequestreview-860249071 |
|
View reviewed changes
| https://github.com/python/cpython/pull/30794/files/58659fa7397d06627673f403938ba94c310fa6dc |
| tim-one | https://github.com/tim-one |
| https://github.com/python/cpython/pull/30794#pullrequestreview-860249071 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
| https://github.com/mdickinson |
| mdickinson | https://github.com/mdickinson |
| 83a0ef2 | https://github.com/python/cpython/commit/83a0ef2162aa379071e243f1b696aa6814edcd2a |
| Jan 23, 2022 | https://github.com/python/cpython/pull/30794#event-5937998406 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Jan 23, 2022 | https://github.com/python/cpython/pull/30794#event-5937998433 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Jan 23, 2022 | https://github.com/python/cpython/pull/30794#issuecomment-1019450604 |
| @mdickinson | https://github.com/mdickinson |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
| https://github.com/mdickinson |
| mdickinson | https://github.com/mdickinson |
| January 23, 2022 09:59 | https://github.com/python/cpython/pull/30794#event-5937998440 |
| https://github.com/python/cpython/pull/30794 |
| niklasf | https://github.com/python/cpython/pull/30794 |
|
Nov 13, 2022
| https://github.com/python/cpython/pull/30794#ref-issue-1198970466 |
|
Add an efficient popcount method for integers
#74068
| https://github.com/python/cpython/issues/74068 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30794 |
|
| https://github.com/vstinner |
|
vstinner
| https://github.com/vstinner |
|
| https://github.com/python/cpython/pull/30794/files/58659fa7397d06627673f403938ba94c310fa6dc |
|
| https://github.com/tim-one |
|
tim-one
| https://github.com/tim-one |
|
| https://github.com/python/cpython/pull/30794/files/58659fa7397d06627673f403938ba94c310fa6dc |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Please reload this page | https://github.com/python/cpython/pull/30794 |
|
| https://github.com/mdickinson |
|
| https://github.com/vstinner |
|
| https://github.com/bedevere-bot |
|
| https://github.com/tim-one |
|
| 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 |