René's URL Explorer Experiment


Title: Remove unnecessary overloads from re by jpy-git · Pull Request #6762 · python/typeshed · GitHub

Open Graph Title: Remove unnecessary overloads from re by jpy-git · Pull Request #6762 · python/typeshed

X Title: Remove unnecessary overloads from re by jpy-git · Pull Request #6762 · python/typeshed

Description: Collection of library stubs for Python, with static types - Remove unnecessary overloads from re by jpy-git · Pull Request #6762 · python/typeshed

Open Graph Description: This PR follows on from the discussion here where @AlexWaygood highlighted that overloads are unnecessary when a function has the same return type and therefore simple union-types should be used in...

X Description: This PR follows on from the discussion here where @AlexWaygood highlighted that overloads are unnecessary when a function has the same return type and therefore simple union-types should be used in...

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

X: @github

direct link

Domain: github.com

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:06627e69-10dc-b1d7-e797-aa24fe875d09
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE8D8:8D035:7712A7:A92A9F:6A621003
html-safe-nonce21eced9730702b84879cf57c4741966bd1110105e493c59b53ecdbfa67e1cc1d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEQ4OjhEMDM1Ojc3MTJBNzpBOTJBOUY6NkE2MjEwMDMiLCJ2aXNpdG9yX2lkIjoiNDg5MzY1NTA0NzAxMDkxNDMwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd7c7d65cb834d5c1a5c85ec8b973dc531ba9661874d32d5ed7d73afbbd1d2080
hovercard-subject-tagpull_request:812102935
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/6762/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/be97527049f8ceb222c4a2d9f1c48781744c37bef9f7fd58b2b284189c8356b7/python/typeshed/pull/6762
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/be97527049f8ceb222c4a2d9f1c48781744c37bef9f7fd58b2b284189c8356b7/python/typeshed/pull/6762
og:image:altThis PR follows on from the discussion here where @AlexWaygood highlighted that overloads are unnecessary when a function has the same return type and therefore simple union-types should be used in...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejpy-git
hostnamegithub.com
expected-hostnamegithub.com
Nonebe9a4d9589756e22b427637ffbf1123a96e067050e57f5cec403e3080a650ca4
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
release7b5509702f01f876c214a2cbb142690847de0019
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/6762#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6762
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Ftypeshed%2Fpull%2F6762
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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/6762
Reloadhttps://github.com/python/typeshed/pull/6762
Reloadhttps://github.com/python/typeshed/pull/6762
Please reload this pagehttps://github.com/python/typeshed/pull/6762
python https://github.com/python
typeshedhttps://github.com/python/typeshed
Please reload this pagehttps://github.com/python/typeshed/pull/6762
Notifications https://github.com/login?return_to=%2Fpython%2Ftypeshed
Fork 2.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Star 5.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Code https://github.com/python/typeshed
Issues 218 https://github.com/python/typeshed/issues
Pull requests 141 https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality 0 https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
Code https://github.com/python/typeshed
Issues https://github.com/python/typeshed/issues
Pull requests https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
jpy-githttps://github.com/jpy-git
python:masterhttps://github.com/python/typeshed/tree/master
jpy-git:remove_re_overloadshttps://github.com/jpy-git/typeshed/tree/remove_re_overloads
Conversationhttps://github.com/python/typeshed/pull/6762
Commits5 (5)https://github.com/python/typeshed/pull/6762/commits
Checkshttps://github.com/python/typeshed/pull/6762/checks
Files changedhttps://github.com/python/typeshed/pull/6762/files
Remove unnecessary overloads from rehttps://github.com/python/typeshed/pull/6762#top
jpy-githttps://github.com/jpy-git
python:masterhttps://github.com/python/typeshed/tree/master
jpy-git:remove_re_overloadshttps://github.com/jpy-git/typeshed/tree/remove_re_overloads
https://github.com/jpy-git
jpy-githttps://github.com/jpy-git
Dec 30, 2021https://github.com/python/typeshed/pull/6762#issue-1091252558
herehttps://github.com/python/typeshed/pull/6713#discussion_r776677437
@AlexWaygoodhttps://github.com/AlexWaygood
https://user-images.githubusercontent.com/80432516/147779329-e3e9e470-a051-4653-a547-60b4a1a46b32.png
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/jpy-git
Remove unnecessary overrides from rehttps://github.com/python/typeshed/pull/6762/commits/8fc144ee3253d26ed78275211b21c82f058ea6e5
8fc144ehttps://github.com/python/typeshed/pull/6762/commits/8fc144ee3253d26ed78275211b21c82f058ea6e5
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 30, 2021 https://github.com/python/typeshed/pull/6762#pullrequestreview-842045082
View reviewed changes https://github.com/python/typeshed/pull/6762/files/8fc144ee3253d26ed78275211b21c82f058ea6e5
stdlib/re.pyihttps://github.com/python/typeshed/pull/6762/files/8fc144ee3253d26ed78275211b21c82f058ea6e5#diff-6a5a353f12d6a3985a2c97df3a008a19daf067af253432d91b9b59eda8afa0d1
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/jpy-git
Re-add subnhttps://github.com/python/typeshed/pull/6762/commits/a96868321995e283eeb22479065a65873ae68122
a968683https://github.com/python/typeshed/pull/6762/commits/a96868321995e283eeb22479065a65873ae68122
https://github.com/jpy-git
jpy-githttps://github.com/jpy-git
Dec 30, 2021 https://github.com/python/typeshed/pull/6762#ref-pullrequest-1089410155
Add regex stubs #6713 https://github.com/python/typeshed/pull/6713
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6762
https://github.com/srittau
srittauhttps://github.com/srittau
Dec 30, 2021 https://github.com/python/typeshed/pull/6762#pullrequestreview-842047012
View reviewed changes https://github.com/python/typeshed/pull/6762/files/a96868321995e283eeb22479065a65873ae68122
https://github.com/srittau
srittauhttps://github.com/srittau
Dec 30, 2021https://github.com/python/typeshed/pull/6762#issuecomment-1003143333
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/srittau
srittauhttps://github.com/srittau
stale reviewhttps://github.com/python/typeshed/pull/6762#pullrequestreview-842047012
December 30, 2021 18:47https://github.com/python/typeshed/pull/6762#event-5828835530
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6762
https://github.com/Akuli
Akulihttps://github.com/Akuli
Dec 30, 2021https://github.com/python/typeshed/pull/6762#event-5828848183
jpy-githttps://github.com/jpy-git
December 30, 2021 19:00https://github.com/python/typeshed/pull/6762#commits-pushed-3e7b90f
https://github.com/jpy-git
https://github.com/AlexWaygood
Update stdlib/re.pyihttps://github.com/python/typeshed/pull/6762/commits/3e7b90ffa8c9650c59932e1668aa761a1bc0c5d9
3e7b90fhttps://github.com/python/typeshed/pull/6762/commits/3e7b90ffa8c9650c59932e1668aa761a1bc0c5d9
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/6762/commits/a8afbd083133e8988e363a918d1f4d6ba6fb97ec
a8afbd0https://github.com/python/typeshed/pull/6762/commits/a8afbd083133e8988e363a918d1f4d6ba6fb97ec
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6762
https://github.com/Akuli
Akulihttps://github.com/Akuli
Dec 30, 2021 https://github.com/python/typeshed/pull/6762#ref-pullrequest-1091267757
List returned from re.Pattern.split() can contain Nones #6763 https://github.com/python/typeshed/pull/6763
https://github.com/jpy-git
Remove split return type fix in favour ofhttps://github.com/python/typeshed/pull/6762/commits/1a1735f7585809c7b091a33b1c0baee10c7bf791
python#6763https://github.com/python/typeshed/pull/6763
1a1735fhttps://github.com/python/typeshed/pull/6762/commits/1a1735f7585809c7b091a33b1c0baee10c7bf791
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 30, 2021https://github.com/python/typeshed/pull/6762#issuecomment-1003155756
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 30, 2021https://github.com/python/typeshed/pull/6762#issuecomment-1003158807
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 30, 2021https://github.com/python/typeshed/pull/6762#issuecomment-1003175086
Please reload this pagehttps://github.com/python/typeshed/pull/6762
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 30, 2021https://github.com/python/typeshed/pull/6762#issuecomment-1003185389
Please reload this pagehttps://github.com/python/typeshed/pull/6762
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/jpy-git
jpy-githttps://github.com/jpy-git
Dec 30, 2021https://github.com/python/typeshed/pull/6762#issuecomment-1003214477
#6713https://github.com/python/typeshed/pull/6713
https://github.com/sphinx-doc/sphinx/blob/eed0730b4ba3bd2fbd34f2d6ab555ba876c77717/sphinx/util/docstrings.py#L20https://github.com/sphinx-doc/sphinx/blob/eed0730b4ba3bd2fbd34f2d6ab555ba876c77717/sphinx/util/docstrings.py#L20
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 31, 2021https://github.com/python/typeshed/pull/6762#issuecomment-1003217198
Please reload this pagehttps://github.com/python/typeshed/pull/6762
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/jpy-git
jpy-githttps://github.com/jpy-git
Dec 31, 2021https://github.com/python/typeshed/pull/6762#issuecomment-1003416953
Please reload this pagehttps://github.com/python/typeshed/pull/6762
#5470 (comment)https://github.com/python/typeshed/issues/5470#issuecomment-841822801
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jan 1, 2022 https://github.com/python/typeshed/pull/6762#ref-issue-1091700445
mypy doesn't take value restrictions into account when solving type variables python/mypy#11880 https://github.com/python/mypy/issues/11880
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jan 1, 2022https://github.com/python/typeshed/pull/6762#issuecomment-1003474713
python/mypy#11880https://github.com/python/mypy/issues/11880
Please reload this pagehttps://github.com/python/typeshed/pull/6762
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
Jan 2, 2022https://github.com/python/typeshed/pull/6762#event-5832382538
https://github.com/srittau
srittauhttps://github.com/srittau
Jan 2, 2022https://github.com/python/typeshed/pull/6762#issuecomment-1003674795
Please reload this pagehttps://github.com/python/typeshed/pull/6762
AlexWaygoodhttps://github.com/AlexWaygood
Jan 2, 2022 https://github.com/python/typeshed/pull/6762#ref-commit-5e567f1
https://github.com/AlexWaygood
Simplify bool stubhttps://github.com/AlexWaygood/typeshed/commit/5e567f1cd2bf8e8217d22ddc756f46339c1acb75
5e567f1https://github.com/AlexWaygood/typeshed/commit/5e567f1cd2bf8e8217d22ddc756f46339c1acb75
python#6762https://github.com/python/typeshed/pull/6762
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 2, 2022 https://github.com/python/typeshed/pull/6762#ref-pullrequest-1091994867
Simplify bool stub #6782 https://github.com/python/typeshed/pull/6782
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Feb 12, 2022https://github.com/python/typeshed/pull/6762#issuecomment-1036916559
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/Akuli
Akulihttps://github.com/Akuli
Feb 12, 2022https://github.com/python/typeshed/pull/6762#event-6057349485
PEP 675: List the str methods that preserve literal types python/peps#2282 https://github.com/python/peps/pull/2282
re: Merge overloaded functions by using unions #7349 https://github.com/python/typeshed/pull/7349
https://github.com/not-my-profile
not-my-profilehttps://github.com/not-my-profile
Feb 22, 2022 https://github.com/python/typeshed/pull/6762#ref-pullrequest-1146758833
Add comments about mypy limitation regarding TypeVar constraints #7350 https://github.com/python/typeshed/pull/7350
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%2F6762
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/typeshed/pull/6762/files/8fc144ee3253d26ed78275211b21c82f058ea6e5
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/6762/files/a96868321995e283eeb22479065a65873ae68122
status: deferred https://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22status%3A%20deferred%22
Please reload this pagehttps://github.com/python/typeshed/pull/6762
https://github.com/jpy-git
https://github.com/srittau
https://github.com/AlexWaygood
https://github.com/hauntsaninja
https://github.com/JelleZijlstra
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.