René's URL Explorer Experiment


Title: Rework Match.group handling by srittau · Pull Request #5557 · python/typeshed · GitHub

Open Graph Title: Rework Match.group handling by srittau · Pull Request #5557 · python/typeshed

X Title: Rework Match.group handling by srittau · Pull Request #5557 · python/typeshed

Description: Collection of library stubs for Python, with static types - Rework Match.group handling by srittau · Pull Request #5557 · python/typeshed

Open Graph Description: Standardize group(), groups(), groupdict(), and __getattr__() to return AnyStr | Any instead of AnyStr. Also special case group(0) and __getattr__(0) to always return AnyStr. Correctly handle defau...

X Description: Standardize group(), groups(), groupdict(), and __getattr__() to return AnyStr | Any instead of AnyStr. Also special case group(0) and __getattr__(0) to always return AnyStr. Correctly handle defau...

Opengraph URL: https://github.com/python/typeshed/pull/5557

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:f2416dfa-411c-b795-54d9-c8f7989d3b92
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAEA6:2B41BC:2CCA96:3C5F5E:6B0025A0
html-safe-nonce629d728031b47ba41a416be76833cacfa12517d9557fdcffac070e3420afdd6c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUE2OjJCNDFCQzoyQ0NBOTY6M0M1RjVFOjZCMDAyNUEwIiwidmlzaXRvcl9pZCI6IjcwNTg0ODg2NjIwOTAwNjUzMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac62ed61f8ba093add8a4e05b0ee76259f9c23dd8db5cbf6588206f82d7646e5d1
hovercard-subject-tagpull_request:657692770
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/typeshed/5557/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f056320c30f9f2c4d355e658160a7ab0a92886b58922167831d490f9cc615e46/python/typeshed/pull/5557
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f056320c30f9f2c4d355e658160a7ab0a92886b58922167831d490f9cc615e46/python/typeshed/pull/5557
og:image:altStandardize group(), groups(), groupdict(), and __getattr__() to return AnyStr | Any instead of AnyStr. Also special case group(0) and __getattr__(0) to always return AnyStr. Correctly handle defau...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesrittau
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/5557#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F5557
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%2Ftypeshed%2Fpull%2F5557
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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/5557
Reloadhttps://github.com/python/typeshed/pull/5557
Reloadhttps://github.com/python/typeshed/pull/5557
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests251 (251)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
Akulihttps://github.com/Akuli
python:masterhttps://github.com/python/typeshed/tree/master
srittau:re-matchhttps://github.com/srittau/typeshed/tree/re-match
Conversationhttps://github.com/python/typeshed/pull/5557
Commits4 (4)https://github.com/python/typeshed/pull/5557/commits
Checkshttps://github.com/python/typeshed/pull/5557/checks
Files changedhttps://github.com/python/typeshed/pull/5557/files
Rework Match.group handlinghttps://github.com/python/typeshed/pull/5557#top
Akulihttps://github.com/Akuli
python:masterhttps://github.com/python/typeshed/tree/master
srittau:re-matchhttps://github.com/srittau/typeshed/tree/re-match
https://github.com/srittau
srittauhttps://github.com/srittau
May 30, 2021https://github.com/python/typeshed/pull/5557#issue-906747358
Please reload this pagehttps://github.com/python/typeshed/pull/5557
#3902https://github.com/python/typeshed/issues/3902
Please reload this pagehttps://github.com/python/typeshed/pull/5557
srittauhttps://github.com/srittau
May 30, 2021 14:53https://github.com/python/typeshed/pull/5557#commits-pushed-e599e26
https://github.com/srittau
Rework Match.group handlinghttps://github.com/python/typeshed/pull/5557/commits/e599e261e4daab81a8aee519ef770c36e4af5196
e599e26https://github.com/python/typeshed/pull/5557/commits/e599e261e4daab81a8aee519ef770c36e4af5196
https://github.com/srittau
Literal -> _Literalhttps://github.com/python/typeshed/pull/5557/commits/dae70753d8af03cdf93df4331fb06c3cf9cd1544
dae7075https://github.com/python/typeshed/pull/5557/commits/dae70753d8af03cdf93df4331fb06c3cf9cd1544
https://github.com/Akuli
Akulihttps://github.com/Akuli
May 30, 2021 https://github.com/python/typeshed/pull/5557#pullrequestreview-671828212
View reviewed changes https://github.com/python/typeshed/pull/5557/files/dae70753d8af03cdf93df4331fb06c3cf9cd1544
stdlib/typing.pyihttps://github.com/python/typeshed/pull/5557/files/dae70753d8af03cdf93df4331fb06c3cf9cd1544#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e
Please reload this pagehttps://github.com/python/typeshed/pull/5557
https://github.com/Akuli
Akulihttps://github.com/Akuli
May 30, 2021https://github.com/python/typeshed/pull/5557#issuecomment-850997359
#5269 (comment)https://github.com/python/typeshed/pull/5269#issuecomment-830225377
Please reload this pagehttps://github.com/python/typeshed/pull/5557
https://github.com/srittau
srittauhttps://github.com/srittau
May 30, 2021https://github.com/python/typeshed/pull/5557#issuecomment-850997802
Please reload this pagehttps://github.com/python/typeshed/pull/5557
https://github.com/Akuli
Akulihttps://github.com/Akuli
May 30, 2021https://github.com/python/typeshed/pull/5557#issuecomment-850997876
#5269 (comment)https://github.com/python/typeshed/pull/5269#issuecomment-830236965
Please reload this pagehttps://github.com/python/typeshed/pull/5557
https://github.com/srittau
Use AnyStr | Any instead of just Anyhttps://github.com/python/typeshed/pull/5557/commits/4576665565e70736bb4124db92e7bd34c067f3ea
4576665https://github.com/python/typeshed/pull/5557/commits/4576665565e70736bb4124db92e7bd34c067f3ea
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F5557
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F5557
https://github.com/Akuli
Akulihttps://github.com/Akuli
May 30, 2021 https://github.com/python/typeshed/pull/5557#pullrequestreview-671829806
View reviewed changes https://github.com/python/typeshed/pull/5557/files/4576665565e70736bb4124db92e7bd34c067f3ea
stdlib/typing.pyihttps://github.com/python/typeshed/pull/5557/files/4576665565e70736bb4124db92e7bd34c067f3ea#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e
Please reload this pagehttps://github.com/python/typeshed/pull/5557
https://github.com/srittau
Handle defaultshttps://github.com/python/typeshed/pull/5557/commits/bd2c288ce24feecc5adf967f71122916212e42c1
bd2c288https://github.com/python/typeshed/pull/5557/commits/bd2c288ce24feecc5adf967f71122916212e42c1
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F5557
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 30, 2021https://github.com/python/typeshed/pull/5557#issuecomment-851005077
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/5557
https://github.com/srittau
srittauhttps://github.com/srittau
May 30, 2021https://github.com/python/typeshed/pull/5557#issuecomment-851006344
Please reload this pagehttps://github.com/python/typeshed/pull/5557
https://github.com/Akuli
Akulihttps://github.com/Akuli
status: deferred https://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22status%3A%20deferred%22
May 30, 2021https://github.com/python/typeshed/pull/5557#event-4817191762
https://github.com/srittau
srittauhttps://github.com/srittau
status: deferred https://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22status%3A%20deferred%22
Jun 8, 2021https://github.com/python/typeshed/pull/5557#event-4860900310
https://github.com/srittau
srittauhttps://github.com/srittau
Jun 8, 2021https://github.com/python/typeshed/pull/5557#issuecomment-857094858
Please reload this pagehttps://github.com/python/typeshed/pull/5557
https://github.com/Akuli
Akulihttps://github.com/Akuli
52dd232https://github.com/python/typeshed/commit/52dd232a236919696dc14349e7c2a3892fc41b24
Jun 8, 2021https://github.com/python/typeshed/pull/5557#event-4861302347
https://github.com/srittau
srittauhttps://github.com/srittau
June 8, 2021 21:50https://github.com/python/typeshed/pull/5557#event-4861411941
Set return type of Match.__getitem__ to Optional[AnyStr] #5547 https://github.com/python/typeshed/pull/5547
Match.groups() return sequence can contain None values #5528 https://github.com/python/typeshed/pull/5528
https://github.com/97littleleaf11
97littleleaf11https://github.com/97littleleaf11
Jul 28, 2021 https://github.com/python/typeshed/pull/5557#ref-pullrequest-953348553
[mypyc] Add bytes primitive type python/mypy#10881 https://github.com/python/mypy/pull/10881
JukkaLhttps://github.com/JukkaL
Jul 28, 2021 https://github.com/python/typeshed/pull/5557#ref-commit-fbea041
https://github.com/JukkaL
Improve type inference special case that involves union with Anyhttps://github.com/python/mypy/commit/fbea041dde3917e289cb25e84eede0ec6e683f0c
fbea041https://github.com/python/mypy/commit/fbea041dde3917e289cb25e84eede0ec6e683f0c
python/typeshed#5557https://github.com/python/typeshed/pull/5557
#10881https://github.com/python/mypy/pull/10881
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jul 28, 2021 https://github.com/python/typeshed/pull/5557#ref-pullrequest-954920259
Improve type inference special case that involves union with Any python/mypy#10887 https://github.com/python/mypy/pull/10887
JukkaLhttps://github.com/JukkaL
Jul 28, 2021 https://github.com/python/typeshed/pull/5557#ref-commit-7808e82
https://github.com/JukkaL
Improve type inference special case that involves union with Any (https://github.com/python/mypy/commit/7808e8265cd4cb29dc7f05ff58ab945ab3f2d20b
#10887https://github.com/python/mypy/pull/10887
7808e82https://github.com/python/mypy/commit/7808e8265cd4cb29dc7f05ff58ab945ab3f2d20b
https://github.com/python/mypy/pull/10887
python/typeshed#5557https://github.com/python/typeshed/pull/5557
#10881https://github.com/python/mypy/pull/10881
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Oct 12, 2021 https://github.com/python/typeshed/pull/5557#ref-issue-1023759828
False positive error: "replace" is not a known member of "None" microsoft/pyright#2418 https://github.com/microsoft/pyright/issues/2418
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 6, 2023 https://github.com/python/typeshed/pull/5557#ref-issue-1522768415
Reason for re.Match.group and re.Match.__getitem__ returning AnyStr | Any? #9465 https://github.com/python/typeshed/issues/9465
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F5557
https://github.com/Akuli
Akuli https://github.com/Akuli
https://github.com/python/typeshed/pull/5557/files/4576665565e70736bb4124db92e7bd34c067f3ea
Please reload this pagehttps://github.com/python/typeshed/pull/5557
Match.group can return None https://github.com/python/typeshed/issues/3902
Please reload this pagehttps://github.com/python/typeshed/pull/5557
https://github.com/srittau
https://github.com/Akuli
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.