René's URL Explorer Experiment


Title: Improve annotations for various set methods by AlexWaygood · Pull Request #11403 · python/typeshed · GitHub

Open Graph Title: Improve annotations for various set methods by AlexWaygood · Pull Request #11403 · python/typeshed

X Title: Improve annotations for various set methods by AlexWaygood · Pull Request #11403 · python/typeshed

Description: Collection of library stubs for Python, with static types - Improve annotations for various set methods by AlexWaygood · Pull Request #11403 · python/typeshed

Open Graph Description: Fixes some regressions introduced by Improve in-place BinOp methods for sets #7161 (see Annotations for set.__sub__ and related methods are inconsistent #9004 (comment)). Fixes Annotations for set....

X Description: Fixes some regressions introduced by Improve in-place BinOp methods for sets #7161 (see Annotations for set.__sub__ and related methods are inconsistent #9004 (comment)). Fixes Annotations for set....

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

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:e74b494a-6ed7-0fff-cba1-d972b64c970b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9544:156A6E:A6C2E:DFAEE:6A6288DB
html-safe-nonce2a1b58d4b7c5780fcd9134292b4fe4511474e1818f4dbeff880f354992da70d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTQ0OjE1NkE2RTpBNkMyRTpERkFFRTo2QTYyODhEQiIsInZpc2l0b3JfaWQiOiIxNDYzMjQwNTg1ODE0MTE2NTcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfb2e81e687e33bf800b52923e0b6c6cb3cf41231fca28ee0974c9851ae0ca25f
hovercard-subject-tagpull_request:1720991721
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/11403/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d0958bdcdaaa07941116ec085656a844ce990546960fe5c40129f31ce5b0245a/python/typeshed/pull/11403
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d0958bdcdaaa07941116ec085656a844ce990546960fe5c40129f31ce5b0245a/python/typeshed/pull/11403
og:image:altFixes some regressions introduced by Improve in-place BinOp methods for sets #7161 (see Annotations for set.__sub__ and related methods are inconsistent #9004 (comment)). Fixes Annotations for set....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexWaygood
hostnamegithub.com
expected-hostnamegithub.com
None7a4ef49a11a2c05de16a801b29c54a151d2e3262d6fd17381ca13b5ae25dda8f
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
release97b18c8f1d2683a31995fd6e802daf9bf0d4d3f0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/11403#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F11403
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%2F11403
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/11403
Reloadhttps://github.com/python/typeshed/pull/11403
Reloadhttps://github.com/python/typeshed/pull/11403
Please reload this pagehttps://github.com/python/typeshed/pull/11403
python https://github.com/python
typeshedhttps://github.com/python/typeshed
Please reload this pagehttps://github.com/python/typeshed/pull/11403
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
AlexWaygood:set-narrowinghttps://github.com/AlexWaygood/typeshed/tree/set-narrowing
Conversationhttps://github.com/python/typeshed/pull/11403
Commits5 (5)https://github.com/python/typeshed/pull/11403/commits
Checkshttps://github.com/python/typeshed/pull/11403/checks
Files changedhttps://github.com/python/typeshed/pull/11403/files
Improve annotations for various set methodshttps://github.com/python/typeshed/pull/11403#top
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/typeshed/tree/main
AlexWaygood:set-narrowinghttps://github.com/AlexWaygood/typeshed/tree/set-narrowing
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Feb 11, 2024https://github.com/python/typeshed/pull/11403#issue-2129042480
Improve in-place BinOp methods for sets #7161https://github.com/python/typeshed/pull/7161
Annotations for set.__sub__ and related methods are inconsistent #9004 (comment)https://github.com/python/typeshed/issues/9004#issuecomment-1295312743
Annotations for set.__sub__ and related methods are inconsistent #9004https://github.com/python/typeshed/issues/9004
set[str].discard(str | None) #7121https://github.com/python/typeshed/issues/7121
mypy doesn't understand set operations on optional mypy#13192https://github.com/python/mypy/issues/13192
@finite-state-machinehttps://github.com/finite-state-machine
Please reload this pagehttps://github.com/python/typeshed/pull/11403
AlexWaygoodhttps://github.com/AlexWaygood
February 11, 2024 15:40https://github.com/python/typeshed/pull/11403#commits-pushed-428b933
https://github.com/AlexWaygood
Improve annotations for various set methodshttps://github.com/python/typeshed/pull/11403/commits/428b9330ce694a528c1d0188ba01d10643e740b3
428b933https://github.com/python/typeshed/pull/11403/commits/428b9330ce694a528c1d0188ba01d10643e740b3
https://github.com/AlexWaygood
py38 compathttps://github.com/python/typeshed/pull/11403/commits/669a209043f93880b6fac4d7cc6194dcbdf34100
669a209https://github.com/python/typeshed/pull/11403/commits/669a209043f93880b6fac4d7cc6194dcbdf34100
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F11403
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Feb 11, 2024https://github.com/python/typeshed/pull/11403#issuecomment-1937808097
Please reload this pagehttps://github.com/python/typeshed/pull/11403
Annotations for set.__sub__ and related methods are inconsistent #9004https://github.com/python/typeshed/issues/9004
@Akulihttps://github.com/Akuli
https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/v1/main.py#L901https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/v1/main.py#L901
https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/main.py#L1257https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/main.py#L1257
https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/deprecated/copy_internals.py#L222https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/deprecated/copy_internals.py#L222
https://github.com/google/jax/blob/9352a00dab3c465a4e2c651cc6a0fa91e50ae7a2/jax/_src/lax/parallel.py#L512https://github.com/google/jax/blob/9352a00dab3c465a4e2c651cc6a0fa91e50ae7a2/jax/_src/lax/parallel.py#L512
Please reload this pagehttps://github.com/python/typeshed/pull/11403
https://github.com/AlexWaygood
Update _weakrefset.pyihttps://github.com/python/typeshed/pull/11403/commits/481407f1e9840117a5c4bddc5ec713a4adc4512e
481407fhttps://github.com/python/typeshed/pull/11403/commits/481407f1e9840117a5c4bddc5ec713a4adc4512e
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
February 11, 2024 16:59https://github.com/python/typeshed/pull/11403#event-11767602494
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F11403
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 23, 2024https://github.com/python/typeshed/pull/11403#issuecomment-2016492472
Please reload this pagehttps://github.com/python/typeshed/pull/11403
https://github.com/AlexWaygood
Merge branch 'main' into set-narrowinghttps://github.com/python/typeshed/pull/11403/commits/d5471c91b6d67823c552c3492dac5ce87d07966b
d5471c9https://github.com/python/typeshed/pull/11403/commits/d5471c91b6d67823c552c3492dac5ce87d07966b
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 25, 2024https://github.com/python/typeshed/pull/11403#issuecomment-2017779460
Please reload this pagehttps://github.com/python/typeshed/pull/11403
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F11403
https://github.com/jbrunton96
jbrunton96https://github.com/jbrunton96
Feb 17, 2025 https://github.com/python/typeshed/pull/11403#pullrequestreview-2621536312
View reviewed changes https://github.com/python/typeshed/pull/11403/files/d5471c91b6d67823c552c3492dac5ce87d07966b
stdlib/builtins.pyihttps://github.com/python/typeshed/pull/11403/files/d5471c91b6d67823c552c3492dac5ce87d07966b#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4
jbrunton96https://github.com/jbrunton96
Feb 17, 2025https://github.com/python/typeshed/pull/11403#discussion_r1958520670
Please reload this pagehttps://github.com/python/typeshed/pull/11403
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/11403
https://github.com/srittau
Merge branch 'main' into set-narrowinghttps://github.com/python/typeshed/pull/11403/commits/6bc17dcdce676d41160ca8741e274c662ebb24b8
6bc17dchttps://github.com/python/typeshed/pull/11403/commits/6bc17dcdce676d41160ca8741e274c662ebb24b8
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 17, 2025https://github.com/python/typeshed/pull/11403#issuecomment-2663644326
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/11403
https://github.com/srittau
srittauhttps://github.com/srittau
Feb 17, 2025https://github.com/python/typeshed/pull/11403#issuecomment-2663651791
Please reload this pagehttps://github.com/python/typeshed/pull/11403
https://github.com/ferdnyc
ferdnychttps://github.com/ferdnyc
Mar 13, 2025https://github.com/python/typeshed/pull/11403#issuecomment-2720871429
Please reload this pagehttps://github.com/python/typeshed/pull/11403
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Dec 21, 2025 https://github.com/python/typeshed/pull/11403#ref-pullrequest-3751460810
allow arbitrary types in set difference #15160 https://github.com/python/typeshed/pull/15160
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jan 10, 2026https://github.com/python/typeshed/pull/11403#issuecomment-3733405696
Please reload this pagehttps://github.com/python/typeshed/pull/11403
#9004https://github.com/python/typeshed/issues/9004
@AlexWaygoodhttps://github.com/AlexWaygood
#15160https://github.com/python/typeshed/pull/15160
@Akulihttps://github.com/Akuli
#9004 (comment)https://github.com/python/typeshed/issues/9004#issuecomment-1294962317
Please reload this pagehttps://github.com/python/typeshed/pull/11403
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 30, 2026https://github.com/python/typeshed/pull/11403#issuecomment-4154514052
@AlexWaygoodhttps://github.com/AlexWaygood
Please reload this pagehttps://github.com/python/typeshed/pull/11403
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%2F11403
https://github.com/jbrunton96
jbrunton96 https://github.com/jbrunton96
https://github.com/python/typeshed/pull/11403/files/d5471c91b6d67823c552c3492dac5ce87d07966b
set[str].discard(str | None) https://github.com/python/typeshed/issues/7121
Annotations for set.__sub__ and related methods are inconsistent https://github.com/python/typeshed/issues/9004
mypy doesn't understand set operations on optional https://github.com/python/mypy/issues/13192
Please reload this pagehttps://github.com/python/typeshed/pull/11403
https://github.com/AlexWaygood
https://github.com/srittau
https://github.com/ferdnyc
https://github.com/randolf-scholz
https://github.com/jbrunton96
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.