René's URL Explorer Experiment


Title: allow arbitrary types in set difference by randolf-scholz · Pull Request #15160 · python/typeshed · GitHub

Open Graph Title: allow arbitrary types in set difference by randolf-scholz · Pull Request #15160 · python/typeshed

X Title: allow arbitrary types in set difference by randolf-scholz · Pull Request #15160 · python/typeshed

Description: Collection of library stubs for Python, with static types - allow arbitrary types in set difference by randolf-scholz · Pull Request #15160 · python/typeshed

Open Graph Description: Fixes #9004 Partially Fixes #15271 See also: #11403 This PR allows set differences with disjoint generic types. This option was previously argued against (#9004 (comment)) because A user shipped c...

X Description: Fixes #9004 Partially Fixes #15271 See also: #11403 This PR allows set differences with disjoint generic types. This option was previously argued against (#9004 (comment)) because A user shipped c...

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

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:86634b22-a2d5-d5e0-094e-c13fb58e0ba1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD7A4:D70A6:5E7C37:800D02:6A62A05C
html-safe-noncecaa4b339346628e3f8e75651652ae3b7e11920fb76dfa53ab331380e1d46bd8d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0E0OkQ3MEE2OjVFN0MzNzo4MDBEMDI6NkE2MkEwNUMiLCJ2aXNpdG9yX2lkIjoiNDMzNTgxMTM3OTA5MTYyMDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac081d35c345bbeba909ffce1c0f18c9187e7babb8075f51f148510d2bec2394a8
hovercard-subject-tagpull_request:3120909927
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/15160/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/62815450f952bfaa55af50386d242568d8abb789b2240521e1447a6bc905c6fe/python/typeshed/pull/15160
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/62815450f952bfaa55af50386d242568d8abb789b2240521e1447a6bc905c6fe/python/typeshed/pull/15160
og:image:altFixes #9004 Partially Fixes #15271 See also: #11403 This PR allows set differences with disjoint generic types. This option was previously argued against (#9004 (comment)) because A user shipped c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerandolf-scholz
hostnamegithub.com
expected-hostnamegithub.com
Nonea6443033349a18134b517627f043d4a59a5110337b879810c7229c2c7e28eda0
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
released6c6cacbe32d3ddfd1796fbd1a39b8fb47b87daf
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/15160#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15160
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%2F15160
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/15160
Reloadhttps://github.com/python/typeshed/pull/15160
Reloadhttps://github.com/python/typeshed/pull/15160
Please reload this pagehttps://github.com/python/typeshed/pull/15160
python https://github.com/python
typeshedhttps://github.com/python/typeshed
Please reload this pagehttps://github.com/python/typeshed/pull/15160
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 217 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
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/typeshed/tree/main
randolf-scholz:set_subhttps://github.com/randolf-scholz/typeshed/tree/set_sub
Conversationhttps://github.com/python/typeshed/pull/15160
Commits3 (3)https://github.com/python/typeshed/pull/15160/commits
Checkshttps://github.com/python/typeshed/pull/15160/checks
Files changedhttps://github.com/python/typeshed/pull/15160/files
allow arbitrary types in set differencehttps://github.com/python/typeshed/pull/15160#top
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/typeshed/tree/main
randolf-scholz:set_subhttps://github.com/randolf-scholz/typeshed/tree/set_sub
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Dec 21, 2025https://github.com/python/typeshed/pull/15160#issue-3751460810
Please reload this pagehttps://github.com/python/typeshed/pull/15160
#9004https://github.com/python/typeshed/issues/9004
#15271https://github.com/python/typeshed/issues/15271
#11403https://github.com/python/typeshed/pull/11403
#9004 (comment)https://github.com/python/typeshed/issues/9004#issuecomment-1294962317
#1840https://github.com/python/typeshed/issues/1840
https://peps.python.org/pep-0800/https://peps.python.org/pep-0800/
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15160
https://github.com/randolf-scholz
allow arbitrary types in set differencehttps://github.com/python/typeshed/pull/15160/commits/57c542c922adb0d562a76d9618127bb2791a5eaa
57c542chttps://github.com/python/typeshed/pull/15160/commits/57c542c922adb0d562a76d9618127bb2791a5eaa
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
force-pushedhttps://github.com/python/typeshed/compare/db500083213e3d461b2f112b0f5a707c156c6b72..57c542c922adb0d562a76d9618127bb2791a5eaa
db50008https://github.com/python/typeshed/commit/db500083213e3d461b2f112b0f5a707c156c6b72
57c542chttps://github.com/python/typeshed/commit/57c542c922adb0d562a76d9618127bb2791a5eaa
Compare https://github.com/python/typeshed/compare/db500083213e3d461b2f112b0f5a707c156c6b72..57c542c922adb0d562a76d9618127bb2791a5eaa
January 10, 2026 09:52https://github.com/python/typeshed/pull/15160#event-21961716187
https://github.com/randolf-scholz
updated testhttps://github.com/python/typeshed/pull/15160/commits/f7af3f7d067ac4e22ca912be9b6ea33dd9db8595
f7af3f7https://github.com/python/typeshed/pull/15160/commits/f7af3f7d067ac4e22ca912be9b6ea33dd9db8595
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15160
Improved Literal? types python/mypy#20444 https://github.com/python/mypy/pull/20444
Improve annotations for various set methods #11403 https://github.com/python/typeshed/pull/11403
https://github.com/randolf-scholz
Merge branch 'main' into set_subhttps://github.com/python/typeshed/pull/15160/commits/85318868fc25ea281f544724e06d65421a7f52d9
8531886https://github.com/python/typeshed/pull/15160/commits/85318868fc25ea281f544724e06d65421a7f52d9
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 16, 2026https://github.com/python/typeshed/pull/15160#issuecomment-3759840223
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/srittau
srittauhttps://github.com/srittau
Jan 16, 2026 https://github.com/python/typeshed/pull/15160#pullrequestreview-3670716533
View reviewed changes https://github.com/python/typeshed/pull/15160/files/85318868fc25ea281f544724e06d65421a7f52d9
srittauhttps://github.com/srittau
https://github.com/python/typeshed/pull/15160#pullrequestreview-3670716533
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jan 16, 2026https://github.com/python/typeshed/pull/15160#issuecomment-3759984548
@srittauhttps://github.com/srittau
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jan 16, 2026https://github.com/python/typeshed/pull/15160#issuecomment-3759992258
Please reload this pagehttps://github.com/python/typeshed/pull/15160
@AlexWaygoodhttps://github.com/AlexWaygood
#11403https://github.com/python/typeshed/pull/11403
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 16, 2026https://github.com/python/typeshed/pull/15160#issuecomment-3760018286
astral-sh/ty#1132 (comment)https://github.com/astral-sh/ty/issues/1132#issuecomment-3258116937
astral-sh/ty#1162https://github.com/astral-sh/ty/issues/1162
astral-sh/ty#1846https://github.com/astral-sh/ty/issues/1846
PyCQA/flake8-pyi#283 (comment)https://github.com/PyCQA/flake8-pyi/issues/283#issuecomment-1248095891
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jan 16, 2026https://github.com/python/typeshed/pull/15160#issuecomment-3760046168
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 16, 2026https://github.com/python/typeshed/pull/15160#issuecomment-3760054949
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 16, 2026 https://github.com/python/typeshed/pull/15160#pullrequestreview-3670895400
View reviewed changes https://github.com/python/typeshed/pull/15160/files/85318868fc25ea281f544724e06d65421a7f52d9
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
236a8c0https://github.com/python/typeshed/commit/236a8c0b086af0fae009da70e2dc6126b2fd56d9
Jan 16, 2026https://github.com/python/typeshed/pull/15160#event-22096057961
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 16, 2026https://github.com/python/typeshed/pull/15160#issuecomment-3760057279
@randolf-scholzhttps://github.com/randolf-scholz
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jan 16, 2026 https://github.com/python/typeshed/pull/15160#ref-issue-3809530702
Several methods on built-in types are too strict. #15271 https://github.com/python/typeshed/issues/15271
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Jan 17, 2026 https://github.com/python/typeshed/pull/15160#ref-pullrequest-3824947144
Sync typeshed python/mypy#20605 https://github.com/python/mypy/pull/20605
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%2F15160
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/15160/files/85318868fc25ea281f544724e06d65421a7f52d9
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/typeshed/pull/15160/files/85318868fc25ea281f544724e06d65421a7f52d9
Several methods on built-in types are too strict. https://github.com/python/typeshed/issues/15271
Annotations for set.__sub__ and related methods are inconsistent https://github.com/python/typeshed/issues/9004
Please reload this pagehttps://github.com/python/typeshed/pull/15160
https://github.com/randolf-scholz
https://github.com/AlexWaygood
https://github.com/srittau
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.