René's URL Explorer Experiment


Title: bpo-29882: Add an efficient popcount method for integers by niklasf · Pull Request #771 · python/cpython · GitHub

Open Graph Title: bpo-29882: Add an efficient popcount method for integers by niklasf · Pull Request #771 · python/cpython

X Title: bpo-29882: Add an efficient popcount method for integers by niklasf · Pull Request #771 · python/cpython

Description: https://bugs.python.org/issue29882 https://bugs.python.org/issue29882

Open Graph Description: https://bugs.python.org/issue29882 https://bugs.python.org/issue29882

X Description: https://bugs.python.org/issue29882 https://bugs.python.org/issue29882

Opengraph URL: https://github.com/python/cpython/pull/771

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:861dcd88-d9f5-ddac-31be-8db7da77749d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD4D0:31FE0A:145B7B0:1C69963:696A4154
html-safe-nonce642e9505b7a00dfc75caa99ef03343e3594d58d4ef0f605297b22a66704a7dc7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEQwOjMxRkUwQToxNDVCN0IwOjFDNjk5NjM6Njk2QTQxNTQiLCJ2aXNpdG9yX2lkIjoiODYxNjA2MTAzODc0MzkyOTE3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfc7d6dde0c2683fd84fa547d690dc687abaedcc5d77fa7868ad0923f06dca83c
hovercard-subject-tagpull_request:112067790
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/771/files
twitter:imagehttps://avatars.githubusercontent.com/u/402777?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/402777?s=400&v=4
og:image:althttps://bugs.python.org/issue29882 https://bugs.python.org/issue29882
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release13581a31d51edf4a3aca179e10890a4d4f9b6d76
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/771/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F771%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F771%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
Reloadhttps://github.com/python/cpython/pull/771/files
Reloadhttps://github.com/python/cpython/pull/771/files
Reloadhttps://github.com/python/cpython/pull/771/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/771/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 pagehttps://github.com/python/cpython/pull/771/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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
mdickinsonhttps://github.com/mdickinson
python:masterhttps://github.com/python/cpython/tree/master
niklasf:bpo-29882-popcounthttps://github.com/niklasf/cpython/tree/bpo-29882-popcount
Conversation 55 https://github.com/python/cpython/pull/771
Commits 13 https://github.com/python/cpython/pull/771/commits
Checks 0 https://github.com/python/cpython/pull/771/checks
Files changed https://github.com/python/cpython/pull/771/files
Please reload this pagehttps://github.com/python/cpython/pull/771/files
bpo-29882: Add an efficient popcount method for integers https://github.com/python/cpython/pull/771/files#top
Show all changes 13 commits https://github.com/python/cpython/pull/771/files
74e3ea6 bpo-29882: Add an efficient popcount method for integers niklasf Mar 10, 2017 https://github.com/python/cpython/pull/771/commits/74e3ea676590c5d55ae5c31d6d457784ffecb7ea
16cc8e5 Merge remote-tracking branch 'upstream/master' into bpo-29882-popcount mdickinson May 26, 2020 https://github.com/python/cpython/pull/771/commits/16cc8e54c6955774038ccc11e3b53501d342ce82
19da190 Update 'sign bit' and versionadded in docs mdickinson May 26, 2020 https://github.com/python/cpython/pull/771/commits/19da190d38ef0753ac6f6ff075e7544def9b0bc7
070ac45 Add entry to whatsnew document mdickinson May 26, 2020 https://github.com/python/cpython/pull/771/commits/070ac455e2c6fed94fea6cf89cd13f9b5fb12bda
b87f162 Doc: use positive example, mention population count mdickinson May 27, 2020 https://github.com/python/cpython/pull/771/commits/b87f1621aea6152743be0aff4fb68bcb707b7932
48084e7 Minor cleanups of the core code mdickinson May 27, 2020 https://github.com/python/cpython/pull/771/commits/48084e75790a44f36bc61ab3488e0d118e52c476
4c6819a Fix conflicts with master mdickinson May 27, 2020 https://github.com/python/cpython/pull/771/commits/4c6819af76fd15ff10cc90923c06d436f4575ac1
729737c Move popcount_digit closer to where it's used mdickinson May 27, 2020 https://github.com/python/cpython/pull/771/commits/729737cc83d09ed9384693a8dccb8bf6969a621c
79f4d16 Use z instead of self after conversion mdickinson May 27, 2020 https://github.com/python/cpython/pull/771/commits/79f4d165f8c412cf486ed629eae548bd293742bf
e3228cf Add 'absolute value' and 'population count' to docstring mdickinson May 27, 2020 https://github.com/python/cpython/pull/771/commits/e3228cf8ae46a4d0dcde0725ff4032f77e0d0967
a0fed82 Fix clinic error about missing summary line mdickinson May 27, 2020 https://github.com/python/cpython/pull/771/commits/a0fed82ba1d7dc8cb4c96d78c7930f1f573bf340
46d8bc9 Merge remote-tracking branch 'upstream/master' into bpo-29882-popcount mdickinson May 29, 2020 https://github.com/python/cpython/pull/771/commits/46d8bc916774f0709a086b3bb4e0efea97434732
3e8422b Ensure popcount_digit is portable with 64-bit ints mdickinson May 29, 2020 https://github.com/python/cpython/pull/771/commits/3e8422bb6c9fd0cdc4381815fca613e6975ee582
Clear filters https://github.com/python/cpython/pull/771/files
Please reload this pagehttps://github.com/python/cpython/pull/771/files
Please reload this pagehttps://github.com/python/cpython/pull/771/files
stdtypes.rst https://github.com/python/cpython/pull/771/files#diff-08a31a70dd1f6d97aa8dacdce77db4de04c700d9949be1af611a595186aad5b3
3.10.rst https://github.com/python/cpython/pull/771/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
test_doctest.py https://github.com/python/cpython/pull/771/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7
test_long.py https://github.com/python/cpython/pull/771/files#diff-02037b51ab56d36386bd847e681b34c3d6603b5ec033cfea65fc92357697a478
2019-06-02-11-29-15.bpo-29882.AkRzjb.rst https://github.com/python/cpython/pull/771/files#diff-b923d5bf44d6c67eb9e0aed6fd93b2514fdaec1d91de4b39cdd78cbc642fcd4b
longobject.c.h https://github.com/python/cpython/pull/771/files#diff-b4a585c360d3d585918431469fae0431e4cd4974b13531bb9e7d1b173e77d8fc
longobject.c https://github.com/python/cpython/pull/771/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
Doc/library/stdtypes.rsthttps://github.com/python/cpython/pull/771/files#diff-08a31a70dd1f6d97aa8dacdce77db4de04c700d9949be1af611a595186aad5b3
View file https://github.com/niklasf/cpython/blob/3e8422bb6c9fd0cdc4381815fca613e6975ee582/Doc/library/stdtypes.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/771/{{ revealButtonHref }}
https://github.com/python/cpython/pull/771/files#diff-08a31a70dd1f6d97aa8dacdce77db4de04c700d9949be1af611a595186aad5b3
Please reload this pagehttps://github.com/python/cpython/pull/771/files
https://github.com/python/cpython/pull/771/files#diff-08a31a70dd1f6d97aa8dacdce77db4de04c700d9949be1af611a595186aad5b3
Doc/whatsnew/3.10.rsthttps://github.com/python/cpython/pull/771/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
View file https://github.com/niklasf/cpython/blob/3e8422bb6c9fd0cdc4381815fca613e6975ee582/Doc/whatsnew/3.10.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/771/{{ revealButtonHref }}
https://github.com/python/cpython/pull/771/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/pull/771/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
Lib/test/test_doctest.pyhttps://github.com/python/cpython/pull/771/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7
View file https://github.com/niklasf/cpython/blob/3e8422bb6c9fd0cdc4381815fca613e6975ee582/Lib/test/test_doctest.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/771/{{ revealButtonHref }}
https://github.com/python/cpython/pull/771/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7
https://github.com/python/cpython/pull/771/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7
https://github.com/python/cpython/pull/771/files#diff-2752e009dea2759fb0a5a0866446e8bbd3f5ed30c030b26d252d7a1178b413e7
Lib/test/test_long.pyhttps://github.com/python/cpython/pull/771/files#diff-02037b51ab56d36386bd847e681b34c3d6603b5ec033cfea65fc92357697a478
View file https://github.com/niklasf/cpython/blob/3e8422bb6c9fd0cdc4381815fca613e6975ee582/Lib/test/test_long.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/771/{{ revealButtonHref }}
https://github.com/python/cpython/pull/771/files#diff-02037b51ab56d36386bd847e681b34c3d6603b5ec033cfea65fc92357697a478
https://github.com/python/cpython/pull/771/files#diff-02037b51ab56d36386bd847e681b34c3d6603b5ec033cfea65fc92357697a478
Misc/NEWS.d/next/Core and Builtins/2019-06-02-11-29-15.bpo-29882.AkRzjb.rsthttps://github.com/python/cpython/pull/771/files#diff-b923d5bf44d6c67eb9e0aed6fd93b2514fdaec1d91de4b39cdd78cbc642fcd4b
View file https://github.com/niklasf/cpython/blob/3e8422bb6c9fd0cdc4381815fca613e6975ee582/Misc/NEWS.d/next/Core%20and%20Builtins/2019-06-02-11-29-15.bpo-29882.AkRzjb.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/771/{{ revealButtonHref }}
Objects/clinic/longobject.c.hhttps://github.com/python/cpython/pull/771/files#diff-b4a585c360d3d585918431469fae0431e4cd4974b13531bb9e7d1b173e77d8fc
View file https://github.com/niklasf/cpython/blob/3e8422bb6c9fd0cdc4381815fca613e6975ee582/Objects/clinic/longobject.c.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/771/files
Objects/longobject.chttps://github.com/python/cpython/pull/771/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
View file https://github.com/niklasf/cpython/blob/3e8422bb6c9fd0cdc4381815fca613e6975ee582/Objects/longobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/771/{{ revealButtonHref }}
https://github.com/python/cpython/pull/771/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
Please reload this pagehttps://github.com/python/cpython/pull/771/files
vstinnerhttps://github.com/vstinner
May 27, 2020https://github.com/python/cpython/pull/771/files#r431102722
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/771/files
vstinnerhttps://github.com/vstinner
May 27, 2020https://github.com/python/cpython/pull/771/files#r431103753
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/771/files
Please reload this pagehttps://github.com/python/cpython/pull/771/files
https://github.com/python/cpython/pull/771/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
https://github.com/python/cpython/pull/771/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
https://github.com/python/cpython/pull/771/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.