| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e74b494a-6ed7-0fff-cba1-d972b64c970b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9544:156A6E:A6C2E:DFAEE:6A6288DB |
| html-safe-nonce | 2a1b58d4b7c5780fcd9134292b4fe4511474e1818f4dbeff880f354992da70d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTQ0OjE1NkE2RTpBNkMyRTpERkFFRTo2QTYyODhEQiIsInZpc2l0b3JfaWQiOiIxNDYzMjQwNTg1ODE0MTE2NTcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fb2e81e687e33bf800b52923e0b6c6cb3cf41231fca28ee0974c9851ae0ca25f |
| hovercard-subject-tag | pull_request:1720991721 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/11403/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d0958bdcdaaa07941116ec085656a844ce990546960fe5c40129f31ce5b0245a/python/typeshed/pull/11403 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d0958bdcdaaa07941116ec085656a844ce990546960fe5c40129f31ce5b0245a/python/typeshed/pull/11403 |
| og:image:alt | 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.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7a4ef49a11a2c05de16a801b29c54a151d2e3262d6fd17381ca13b5ae25dda8f |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 97b18c8f1d2683a31995fd6e802daf9bf0d4d3f0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/typeshed/pull/11403 |
| Reload | https://github.com/python/typeshed/pull/11403 |
| Reload | https://github.com/python/typeshed/pull/11403 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
|
python
| https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Please reload this page | https://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 |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/typeshed/tree/main |
| AlexWaygood:set-narrowing | https://github.com/AlexWaygood/typeshed/tree/set-narrowing |
| Conversation | https://github.com/python/typeshed/pull/11403 |
| Commits5 (5) | https://github.com/python/typeshed/pull/11403/commits |
| Checks | https://github.com/python/typeshed/pull/11403/checks |
| Files changed | https://github.com/python/typeshed/pull/11403/files |
| Improve annotations for various set methods | https://github.com/python/typeshed/pull/11403#top |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/typeshed/tree/main |
| AlexWaygood:set-narrowing | https://github.com/AlexWaygood/typeshed/tree/set-narrowing |
|
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Feb 11, 2024 | https://github.com/python/typeshed/pull/11403#issue-2129042480 |
| Improve in-place BinOp methods for sets #7161 | https://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 #9004 | https://github.com/python/typeshed/issues/9004 |
| set[str].discard(str | None) #7121 | https://github.com/python/typeshed/issues/7121 |
| mypy doesn't understand set operations on optional mypy#13192 | https://github.com/python/mypy/issues/13192 |
| @finite-state-machine | https://github.com/finite-state-machine |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| AlexWaygood | https://github.com/AlexWaygood |
| February 11, 2024 15:40 | https://github.com/python/typeshed/pull/11403#commits-pushed-428b933 |
|
| https://github.com/AlexWaygood |
| Improve annotations for various set methods | https://github.com/python/typeshed/pull/11403/commits/428b9330ce694a528c1d0188ba01d10643e740b3 |
| 428b933 | https://github.com/python/typeshed/pull/11403/commits/428b9330ce694a528c1d0188ba01d10643e740b3 |
|
| https://github.com/AlexWaygood |
| py38 compat | https://github.com/python/typeshed/pull/11403/commits/669a209043f93880b6fac4d7cc6194dcbdf34100 |
| 669a209 | https://github.com/python/typeshed/pull/11403/commits/669a209043f93880b6fac4d7cc6194dcbdf34100 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F11403 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Feb 11, 2024 | https://github.com/python/typeshed/pull/11403#issuecomment-1937808097 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| Annotations for set.__sub__ and related methods are inconsistent #9004 | https://github.com/python/typeshed/issues/9004 |
| @Akuli | https://github.com/Akuli |
| https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/v1/main.py#L901 | https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/v1/main.py#L901 |
| https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/main.py#L1257 | https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/main.py#L1257 |
| https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/deprecated/copy_internals.py#L222 | https://github.com/pydantic/pydantic/blob/832225b90672c68e2d4067bd0ffecf834d62b48b/pydantic/deprecated/copy_internals.py#L222 |
| https://github.com/google/jax/blob/9352a00dab3c465a4e2c651cc6a0fa91e50ae7a2/jax/_src/lax/parallel.py#L512 | https://github.com/google/jax/blob/9352a00dab3c465a4e2c651cc6a0fa91e50ae7a2/jax/_src/lax/parallel.py#L512 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
|
| https://github.com/AlexWaygood |
| Update _weakrefset.pyi | https://github.com/python/typeshed/pull/11403/commits/481407f1e9840117a5c4bddc5ec713a4adc4512e |
| 481407f | https://github.com/python/typeshed/pull/11403/commits/481407f1e9840117a5c4bddc5ec713a4adc4512e |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| February 11, 2024 16:59 | https://github.com/python/typeshed/pull/11403#event-11767602494 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F11403 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| Mar 23, 2024 | https://github.com/python/typeshed/pull/11403#issuecomment-2016492472 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
|
| https://github.com/AlexWaygood |
| Merge branch 'main' into set-narrowing | https://github.com/python/typeshed/pull/11403/commits/d5471c91b6d67823c552c3492dac5ce87d07966b |
| d5471c9 | https://github.com/python/typeshed/pull/11403/commits/d5471c91b6d67823c552c3492dac5ce87d07966b |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Mar 25, 2024 | https://github.com/python/typeshed/pull/11403#issuecomment-2017779460 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F11403 |
| https://github.com/jbrunton96 |
| jbrunton96 | https://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.pyi | https://github.com/python/typeshed/pull/11403/files/d5471c91b6d67823c552c3492dac5ce87d07966b#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4 |
| jbrunton96 | https://github.com/jbrunton96 |
| Feb 17, 2025 | https://github.com/python/typeshed/pull/11403#discussion_r1958520670 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
|
| https://github.com/srittau |
| Merge branch 'main' into set-narrowing | https://github.com/python/typeshed/pull/11403/commits/6bc17dcdce676d41160ca8741e274c662ebb24b8 |
| 6bc17dc | https://github.com/python/typeshed/pull/11403/commits/6bc17dcdce676d41160ca8741e274c662ebb24b8 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Feb 17, 2025 | https://github.com/python/typeshed/pull/11403#issuecomment-2663644326 |
| mypy_primer | https://github.com/hauntsaninja/mypy_primer |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| Feb 17, 2025 | https://github.com/python/typeshed/pull/11403#issuecomment-2663651791 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| https://github.com/ferdnyc |
| ferdnyc | https://github.com/ferdnyc |
| Mar 13, 2025 | https://github.com/python/typeshed/pull/11403#issuecomment-2720871429 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://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-scholz | https://github.com/randolf-scholz |
| Jan 10, 2026 | https://github.com/python/typeshed/pull/11403#issuecomment-3733405696 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| #9004 | https://github.com/python/typeshed/issues/9004 |
| @AlexWaygood | https://github.com/AlexWaygood |
| #15160 | https://github.com/python/typeshed/pull/15160 |
| @Akuli | https://github.com/Akuli |
| #9004 (comment) | https://github.com/python/typeshed/issues/9004#issuecomment-1294962317 |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| Mar 30, 2026 | https://github.com/python/typeshed/pull/11403#issuecomment-4154514052 |
| @AlexWaygood | https://github.com/AlexWaygood |
| Please reload this page | https://github.com/python/typeshed/pull/11403 |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |