René's URL Explorer Experiment


Title: gh-125420: implement `Sequence.count` API on `memoryview` objects by picnixz · Pull Request #125443 · python/cpython · GitHub

Open Graph Title: gh-125420: implement `Sequence.count` API on `memoryview` objects by picnixz · Pull Request #125443 · python/cpython

X Title: gh-125420: implement `Sequence.count` API on `memoryview` objects by picnixz · Pull Request #125443 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: memoryview is a Sequence but does not implement the full Sequence API #125420 📚 Documentation preview 📚: https://cpython-previews--125443.org.readthedocs.build/

X Description: Issue: memoryview is a Sequence but does not implement the full Sequence API #125420 📚 Documentation preview 📚: https://cpython-previews--125443.org.readthedocs.build/

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0655de01-0c7a-d593-381c-46663e6f4cac
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCC08:2B41BC:CC5DF5:111FA5B:6B005153
html-safe-nonceefe03b9a922bc0348a398472f8d7e4a33b2b2cf372c1f6668728ea97159f828f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzA4OjJCNDFCQzpDQzVERjU6MTExRkE1Qjo2QjAwNTE1MyIsInZpc2l0b3JfaWQiOiIxNzAxMDQ5Njg5ODcwMzgwMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac26e69dea1d1bf6a7e26c6b2aa601d220930694ba5883096db03b6f659e80f5d8
hovercard-subject-tagpull_request:2122720468
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/125443/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b488994d6d56f28ebaaab65bad32d8581906da3525f9530b4acda71411fccb66/python/cpython/pull/125443
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b488994d6d56f28ebaaab65bad32d8581906da3525f9530b4acda71411fccb66/python/cpython/pull/125443
og:image:altIssue: memoryview is a Sequence but does not implement the full Sequence API #125420 📚 Documentation preview 📚: https://cpython-previews--125443.org.readthedocs.build/
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/125443#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125443
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125443
Sign uphttps://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
Reloadhttps://github.com/python/cpython/pull/125443
Reloadhttps://github.com/python/cpython/pull/125443
Reloadhttps://github.com/python/cpython/pull/125443
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/memoryview-sequence-api-count-125420https://github.com/picnixz/cpython/tree/fix/memoryview-sequence-api-count-125420
Conversationhttps://github.com/python/cpython/pull/125443
Commits15 (15)https://github.com/python/cpython/pull/125443/commits
Checkshttps://github.com/python/cpython/pull/125443/checks
Files changedhttps://github.com/python/cpython/pull/125443/files
gh-125420: implement Sequence.count API on memoryview objectshttps://github.com/python/cpython/pull/125443#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/memoryview-sequence-api-count-125420https://github.com/picnixz/cpython/tree/fix/memoryview-sequence-api-count-125420
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 14, 2024https://github.com/python/cpython/pull/125443#issue-2585635326
Please reload this pagehttps://github.com/python/cpython/pull/125443
memoryview is a Sequence but does not implement the full Sequence API #125420https://github.com/python/cpython/issues/125420
https://cpython-previews--125443.org.readthedocs.build/https://cpython-previews--125443.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/125443
picnixzhttps://github.com/picnixz
October 14, 2024 12:46https://github.com/python/cpython/pull/125443#commits-pushed-12a429e
https://github.com/picnixz
add count to memoryview objectshttps://github.com/python/cpython/pull/125443/commits/12a429ef0669bd153e7064b7501115f2a378ee4d
12a429ehttps://github.com/python/cpython/pull/125443/commits/12a429ef0669bd153e7064b7501115f2a378ee4d
https://github.com/picnixz
docshttps://github.com/python/cpython/pull/125443/commits/8234c5fd05962299d4527ca7bb4fa85dd99d1a16
8234c5fhttps://github.com/python/cpython/pull/125443/commits/8234c5fd05962299d4527ca7bb4fa85dd99d1a16
https://github.com/picnixz
blurbhttps://github.com/python/cpython/pull/125443/commits/a253c9b88f957f353badbc9bc2575a2457b8b438
a253c9bhttps://github.com/python/cpython/pull/125443/commits/a253c9b88f957f353badbc9bc2575a2457b8b438
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 14, 2024https://github.com/python/cpython/pull/125443#event-14632288593
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 14, 2024 https://github.com/python/cpython/pull/125443#ref-issue-2584386709
memoryview is a Sequence but does not implement the full Sequence API #125420 https://github.com/python/cpython/issues/125420
picnixzhttps://github.com/picnixz
October 14, 2024 12:50https://github.com/python/cpython/pull/125443#commits-pushed-35c3c0a
https://github.com/picnixz
remove redundant fast pathhttps://github.com/python/cpython/pull/125443/commits/35c3c0a1c1b3ee4ee4e118882c95080288ea01d4
35c3c0ahttps://github.com/python/cpython/pull/125443/commits/35c3c0a1c1b3ee4ee4e118882c95080288ea01d4
https://github.com/picnixz
use of count++ instead of count += 1https://github.com/python/cpython/pull/125443/commits/be66e19e1f25680a2ca626656add5cada9736fc6
be66e19https://github.com/python/cpython/pull/125443/commits/be66e19e1f25680a2ca626656add5cada9736fc6
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 14, 2024https://github.com/python/cpython/pull/125443#event-14633928280
picnixzhttps://github.com/picnixz
October 14, 2024 13:41https://github.com/python/cpython/pull/125443#commits-pushed-697b10c
https://github.com/picnixz
fixupshttps://github.com/python/cpython/pull/125443/commits/697b10c76801edaad56709d82f19f20eae4010f6
697b10chttps://github.com/python/cpython/pull/125443/commits/697b10c76801edaad56709d82f19f20eae4010f6
https://github.com/picnixz
update docshttps://github.com/python/cpython/pull/125443/commits/2e3d8a79cbad6935298094c33b9f5a8157e908e2
2e3d8a7https://github.com/python/cpython/pull/125443/commits/2e3d8a79cbad6935298094c33b9f5a8157e908e2
https://github.com/corona10
corona10https://github.com/corona10
Oct 14, 2024 https://github.com/python/cpython/pull/125443#pullrequestreview-2366410462
View reviewed changes https://github.com/python/cpython/pull/125443/files/2e3d8a79cbad6935298094c33b9f5a8157e908e2
Objects/memoryobject.chttps://github.com/python/cpython/pull/125443/files/2e3d8a79cbad6935298094c33b9f5a8157e908e2#diff-7d1cb11da20dc3738b65b0f7381bf02df53132562a9749ba8a22d67a0f05f106
Please reload this pagehttps://github.com/python/cpython/pull/125443
https://github.com/corona10
corona10https://github.com/corona10
Oct 14, 2024 https://github.com/python/cpython/pull/125443#ref-pullrequest-2585754705
gh-125420: implement Sequence.index API on memoryview objects #125446 https://github.com/python/cpython/pull/125446
https://github.com/corona10
corona10https://github.com/corona10
JelleZijlstrahttps://github.com/JelleZijlstra
October 14, 2024 12:07https://github.com/python/cpython/pull/125443#event-14634668759
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 14, 2024 https://github.com/python/cpython/pull/125443#pullrequestreview-2366543916
View reviewed changes https://github.com/python/cpython/pull/125443/files/2e3d8a79cbad6935298094c33b9f5a8157e908e2
Lib/test/test_memoryview.pyhttps://github.com/python/cpython/pull/125443/files/2e3d8a79cbad6935298094c33b9f5a8157e908e2#diff-d41c6bb40a1e03fea5a20d15c4077413e0ddde65651147922b625b03a66a2f16
Please reload this pagehttps://github.com/python/cpython/pull/125443
Objects/memoryobject.chttps://github.com/python/cpython/pull/125443/files/2e3d8a79cbad6935298094c33b9f5a8157e908e2#diff-7d1cb11da20dc3738b65b0f7381bf02df53132562a9749ba8a22d67a0f05f106
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 14, 2024https://github.com/python/cpython/pull/125443#discussion_r1799469523
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/125443
picnixzhttps://github.com/picnixz
Oct 14, 2024https://github.com/python/cpython/pull/125443#discussion_r1799503538
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/125443
Objects/memoryobject.chttps://github.com/python/cpython/pull/125443/files/2e3d8a79cbad6935298094c33b9f5a8157e908e2#diff-7d1cb11da20dc3738b65b0f7381bf02df53132562a9749ba8a22d67a0f05f106
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 14, 2024https://github.com/python/cpython/pull/125443#discussion_r1799473513
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/125443
picnixzhttps://github.com/picnixz
Oct 14, 2024https://github.com/python/cpython/pull/125443#discussion_r1799503714
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/125443
picnixzhttps://github.com/picnixz
October 14, 2024 15:26https://github.com/python/cpython/pull/125443#commits-pushed-d311794
https://github.com/picnixz
increase test coveragehttps://github.com/python/cpython/pull/125443/commits/d311794a148c55fd4d1bb23dfc4c4e549becd6fd
d311794https://github.com/python/cpython/pull/125443/commits/d311794a148c55fd4d1bb23dfc4c4e549becd6fd
https://github.com/picnixz
add a fast path for comparisonhttps://github.com/python/cpython/pull/125443/commits/41d977a8088b5e0f0910b0d95eabecc348450365
41d977ahttps://github.com/python/cpython/pull/125443/commits/41d977a8088b5e0f0910b0d95eabecc348450365
https://github.com/picnixz
picnixzhttps://github.com/picnixz
JelleZijlstrahttps://github.com/JelleZijlstra
corona10https://github.com/corona10
October 14, 2024 16:42https://github.com/python/cpython/pull/125443#event-14640594157
picnixzhttps://github.com/picnixz
October 17, 2024 17:00https://github.com/python/cpython/pull/125443#commits-pushed-0c8d8ec
https://github.com/picnixz
Add note on the impossibility of overflowshttps://github.com/python/cpython/pull/125443/commits/0c8d8ec2bc521bff4c05dce79deea6bcf8dcc349
0c8d8echttps://github.com/python/cpython/pull/125443/commits/0c8d8ec2bc521bff4c05dce79deea6bcf8dcc349
https://github.com/picnixz
fixup docshttps://github.com/python/cpython/pull/125443/commits/2a387d5c77b9733e7b65c21923dd78a985a9d17e
2a387d5https://github.com/python/cpython/pull/125443/commits/2a387d5c77b9733e7b65c21923dd78a985a9d17e
https://github.com/picnixz
Merge remote-tracking branch 'upstream/main' into fix/memoryview-sequ…https://github.com/python/cpython/pull/125443/commits/83dd0ea3c9bfc51132873e7800e2c010577f92e0
83dd0eahttps://github.com/python/cpython/pull/125443/commits/83dd0ea3c9bfc51132873e7800e2c010577f92e0
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 5, 2024 https://github.com/python/cpython/pull/125443#pullrequestreview-2414541200
View reviewed changes https://github.com/python/cpython/pull/125443/files/83dd0ea3c9bfc51132873e7800e2c010577f92e0
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 5, 2024https://github.com/python/cpython/pull/125443#event-15113146202
picnixzhttps://github.com/picnixz
December 4, 2024 14:54https://github.com/python/cpython/pull/125443#commits-pushed-d35d124
https://github.com/picnixz
Merge branch 'main' into fix/memoryview/count-125420https://github.com/python/cpython/pull/125443/commits/d35d124578e90b334d37b9f38fd16d2c457a97c1
d35d124https://github.com/python/cpython/pull/125443/commits/d35d124578e90b334d37b9f38fd16d2c457a97c1
https://github.com/JelleZijlstra
Merge branch 'main' into fix/memoryview-sequence-api-count-125420https://github.com/python/cpython/pull/125443/commits/47c162cf4aaca23f7f0e7b56e421db643ffac45c
47c162chttps://github.com/python/cpython/pull/125443/commits/47c162cf4aaca23f7f0e7b56e421db643ffac45c
https://github.com/JelleZijlstra
fix clinichttps://github.com/python/cpython/pull/125443/commits/f68900bd8ff8814d498826dae8c85265ae7fddbc
f68900bhttps://github.com/python/cpython/pull/125443/commits/f68900bd8ff8814d498826dae8c85265ae7fddbc
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
December 10, 2024 02:52https://github.com/python/cpython/pull/125443#event-15593579773
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
4331832https://github.com/python/cpython/commit/4331832db02ff4a7598dcdd99cae31087173dce0
Dec 10, 2024https://github.com/python/cpython/pull/125443#event-15598280857
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Dec 10, 2024https://github.com/python/cpython/pull/125443#event-15598282039
https://github.com/picnixz
picnixzhttps://github.com/picnixz
December 10, 2024 10:13https://github.com/python/cpython/pull/125443#event-15598295039
srinivasreddyhttps://github.com/srinivasreddy
Jan 8, 2025 https://github.com/python/cpython/pull/125443#ref-commit-8dd00e6
https://github.com/picnixz
https://github.com/srinivasreddy
pythongh-125420https://github.com/python/cpython/issues/125420
: implementhttps://github.com/srinivasreddy/cpython/commit/8dd00e60c8912ddb8e955de6f55ca66e8c14dc04
Sequence.counthttps://github.com/srinivasreddy/cpython/commit/8dd00e60c8912ddb8e955de6f55ca66e8c14dc04
API onhttps://github.com/srinivasreddy/cpython/commit/8dd00e60c8912ddb8e955de6f55ca66e8c14dc04
memoryviewhttps://github.com/srinivasreddy/cpython/commit/8dd00e60c8912ddb8e955de6f55ca66e8c14dc04
objec…https://github.com/srinivasreddy/cpython/commit/8dd00e60c8912ddb8e955de6f55ca66e8c14dc04
8dd00e6https://github.com/srinivasreddy/cpython/commit/8dd00e60c8912ddb8e955de6f55ca66e8c14dc04
python#125443https://github.com/python/cpython/pull/125443
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125443
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/125443/files/83dd0ea3c9bfc51132873e7800e2c010577f92e0
https://github.com/corona10
corona10 https://github.com/corona10
Please reload this pagehttps://github.com/python/cpython/pull/125443
Please reload this pagehttps://github.com/python/cpython/pull/125443
https://github.com/picnixz
https://github.com/JelleZijlstra
https://github.com/corona10
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.