René's URL Explorer Experiment


Title: Rework starargs with union argument by randolf-scholz · Pull Request #19651 · python/mypy · GitHub

Open Graph Title: Rework starargs with union argument by randolf-scholz · Pull Request #19651 · python/mypy

X Title: Rework starargs with union argument by randolf-scholz · Pull Request #19651 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Makes *args inference smarter by special casing UnionType *(tuple[A, B, C] | tuple[None|None|None]) gets treated like tuple[A | None, B | None, C | None] inside ArgTypeExpander (applies if all uni...

X Description: Makes *args inference smarter by special casing UnionType *(tuple[A, B, C] | tuple[None|None|None]) gets treated like tuple[A | None, B | None, C | None] inside ArgTypeExpander (applies if all uni...

Opengraph URL: https://github.com/python/mypy/pull/19651

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:166e0a1d-7370-bc5b-bbdf-36db920eaa0f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCBD0:11D011:358372:482B14:6A626BCC
html-safe-noncec930f53ea8a8297554dd1b65264c211c993a48491540d2ef35af2887e9d8d02e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkQwOjExRDAxMTozNTgzNzI6NDgyQjE0OjZBNjI2QkNDIiwidmlzaXRvcl9pZCI6IjI0NTA0NTA2ODU3OTQzNDc5ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfc18f46010a758987db873f65afb7c7136af7daf5178bf5a91fae1ef36d4e5dd
hovercard-subject-tagpull_request:2742706472
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///pull_requests/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/mypy/pull/19651
twitter:imagehttps://opengraph.githubassets.com/47f2cd41535625b21fe08da1797d47f318b7cea691e2bcce5489c3cdeb1f4e01/python/mypy/pull/19651
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/47f2cd41535625b21fe08da1797d47f318b7cea691e2bcce5489c3cdeb1f4e01/python/mypy/pull/19651
og:image:altMakes *args inference smarter by special casing UnionType *(tuple[A, B, C] | tuple[None|None|None]) gets treated like tuple[A | None, B | None, C | None] inside ArgTypeExpander (applies if all uni...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerandolf-scholz
hostnamegithub.com
expected-hostnamegithub.com
None19769ef9d383a84eeab48bb9b309078c20f4532b73eae2f9713b18406513e0ad
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release76dc6b11f13eaeec1329217c9f16c262ade27a1e
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/mypy/pull/19651#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19651
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%2Fmypy%2Fpull%2F19651
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%2Fpull_requests%2Fshow&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/19651
Reloadhttps://github.com/python/mypy/pull/19651
Reloadhttps://github.com/python/mypy/pull/19651
Please reload this pagehttps://github.com/python/mypy/pull/19651
python https://github.com/python
mypyhttps://github.com/python/mypy
Please reload this pagehttps://github.com/python/mypy/pull/19651
Notifications https://github.com/login?return_to=%2Fpython%2Fmypy
Fork 3.3k https://github.com/login?return_to=%2Fpython%2Fmypy
Star 20.6k https://github.com/login?return_to=%2Fpython%2Fmypy
Code https://github.com/python/mypy
Issues 2.7k https://github.com/python/mypy/issues
Pull requests 474 https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality 0 https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
Code https://github.com/python/mypy
Issues https://github.com/python/mypy/issues
Pull requests https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
randolf-scholzhttps://github.com/randolf-scholz
python:masterhttps://github.com/python/mypy/tree/master
randolf-scholz:fix_list_comprehensionhttps://github.com/randolf-scholz/mypy/tree/fix_list_comprehension
Conversationhttps://github.com/python/mypy/pull/19651
Commits15 (15)https://github.com/python/mypy/pull/19651/commits
Checkshttps://github.com/python/mypy/pull/19651/checks
Files changedhttps://github.com/python/mypy/pull/19651/files
Rework starargs with union argumenthttps://github.com/python/mypy/pull/19651#top
randolf-scholzhttps://github.com/randolf-scholz
python:masterhttps://github.com/python/mypy/tree/master
randolf-scholz:fix_list_comprehensionhttps://github.com/randolf-scholz/mypy/tree/fix_list_comprehension
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 13, 2025https://github.com/python/mypy/pull/19651#issue-3318286131
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy fails to correctly understand some iterable type in *args #19662https://github.com/python/mypy/issues/19662
Mypy fails to solve tuple[int, *Ts, int] as an Iterable[T]. #19659https://github.com/python/mypy/issues/19659
Variadic *args where args: Union[Tuple[...], Tuple[...], ...] are _never_ checked [False Negative] #17161https://github.com/python/mypy/issues/17161
Unpacking an iterable in a list comprehension leads to the type inferred as list[Any] #15747https://github.com/python/mypy/issues/15747
Custom __iter__ method yields false positive when used with star args (*) #14470https://github.com/python/mypy/issues/14470
Unpacking unions of tuples skips type checking #15969https://github.com/python/mypy/issues/15969
#19650https://github.com/python/mypy/pull/19650
@hauntsaninjahttps://github.com/hauntsaninja
1https://github.com/python/mypy/pull/19651#user-content-fn-1-d26223818ef0b8f4fc3b73d55578065c
https://github.com/python/mypy/pull/19651#user-content-fnref-1-d26223818ef0b8f4fc3b73d55578065c
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
force-pushedhttps://github.com/python/mypy/compare/7146a29b8fc373021315e104fd9e185848f2bfdc..049afbc3495762f96218cec2d9dd6c39f12ff2bd
7146a29https://github.com/python/mypy/commit/7146a29b8fc373021315e104fd9e185848f2bfdc
049afbchttps://github.com/python/mypy/commit/049afbc3495762f96218cec2d9dd6c39f12ff2bd
Compare https://github.com/python/mypy/compare/7146a29b8fc373021315e104fd9e185848f2bfdc..049afbc3495762f96218cec2d9dd6c39f12ff2bd
August 13, 2025 12:38https://github.com/python/mypy/pull/19651#event-19136507486
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 13, 2025https://github.com/python/mypy/pull/19651#issuecomment-3184130985
#19652https://github.com/python/mypy/issues/19652
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 13, 2025https://github.com/python/mypy/pull/19651#issuecomment-3184172218
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://mypy-play.net/?mypy=latest&python=3.12&gist=3bf7d56a2bfbc1fc23be62ef521dc613https://mypy-play.net/?mypy=latest&python=3.12&gist=3bf7d56a2bfbc1fc23be62ef521dc613
https://mypy-play.net/?mypy=latest&python=3.12&gist=9999ca2cb89e849978c979c1e4cc9bcahttps://mypy-play.net/?mypy=latest&python=3.12&gist=9999ca2cb89e849978c979c1e4cc9bca
https://mypy-play.net/?mypy=latest&python=3.12&gist=0df919e6986b3fcbdb9d7c8727fb8d48https://mypy-play.net/?mypy=latest&python=3.12&gist=0df919e6986b3fcbdb9d7c8727fb8d48
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19651
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
August 14, 2025 19:00https://github.com/python/mypy/pull/19651#event-19165299236
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
August 14, 2025 19:01https://github.com/python/mypy/pull/19651#event-19165321802
randolf-scholzhttps://github.com/randolf-scholz
August 15, 2025 09:34https://github.com/python/mypy/pull/19651#commits-pushed-245cba3
https://github.com/randolf-scholz
rework starargs with union argumenthttps://github.com/python/mypy/pull/19651/commits/245cba30d43f1659a150a1883d7e823bf8ad5dfa
245cba3https://github.com/python/mypy/pull/19651/commits/245cba30d43f1659a150a1883d7e823bf8ad5dfa
https://github.com/randolf-scholz
Use typing.Unpack in testshttps://github.com/python/mypy/pull/19651/commits/f2d254c0f6cde6c3bf51ed2f84004789d5471ecb
f2d254chttps://github.com/python/mypy/pull/19651/commits/f2d254c0f6cde6c3bf51ed2f84004789d5471ecb
https://github.com/randolf-scholz
reworked argmapper with star argshttps://github.com/python/mypy/pull/19651/commits/df7b3f0409a5ec07cad3afbb02fcb64250e701e5
df7b3f0https://github.com/python/mypy/pull/19651/commits/df7b3f0409a5ec07cad3afbb02fcb64250e701e5
https://github.com/randolf-scholz
always use the solver meachnismhttps://github.com/python/mypy/pull/19651/commits/5e239a3a5f27e3b2972b4398155574cd9c85af7f
5e239a3https://github.com/python/mypy/pull/19651/commits/5e239a3a5f27e3b2972b4398155574cd9c85af7f
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
force-pushedhttps://github.com/python/mypy/compare/b341226e6dfd77744cc53d6b94f8a0fa18fbb7aa..5e239a3a5f27e3b2972b4398155574cd9c85af7f
b341226https://github.com/python/mypy/commit/b341226e6dfd77744cc53d6b94f8a0fa18fbb7aa
5e239a3https://github.com/python/mypy/commit/5e239a3a5f27e3b2972b4398155574cd9c85af7f
Compare https://github.com/python/mypy/compare/b341226e6dfd77744cc53d6b94f8a0fa18fbb7aa..5e239a3a5f27e3b2972b4398155574cd9c85af7f
August 15, 2025 08:13https://github.com/python/mypy/pull/19651#event-19172814715
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19651
randolf-scholzhttps://github.com/randolf-scholz
August 15, 2025 11:55https://github.com/python/mypy/pull/19651#commits-pushed-6cbb237
https://github.com/randolf-scholz
fixed infer_constraintshttps://github.com/python/mypy/pull/19651/commits/6cbb237ab06c6f5cf8538f567f9125b87c399234
6cbb237https://github.com/python/mypy/pull/19651/commits/6cbb237ab06c6f5cf8538f567f9125b87c399234
https://github.com/randolf-scholz
cleanuphttps://github.com/python/mypy/pull/19651/commits/115bf00a02582f0e85d71d046774597ff3d702e3
115bf00https://github.com/python/mypy/pull/19651/commits/115bf00a02582f0e85d71d046774597ff3d702e3
https://github.com/randolf-scholz
Merge branch 'master' into fix_list_comprehensionhttps://github.com/python/mypy/pull/19651/commits/08db3da706be925ac560a94022d253e98a509571
08db3dahttps://github.com/python/mypy/pull/19651/commits/08db3da706be925ac560a94022d253e98a509571
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
August 15, 2025 14:01https://github.com/python/mypy/pull/19651#event-19176552091
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 15, 2025https://github.com/python/mypy/pull/19651#issuecomment-3191575701
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 15, 2025 https://github.com/python/mypy/pull/19651#ref-pullrequest-3316179280
Fix inference when unpacking union type #19650 https://github.com/python/mypy/pull/19650
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Aug 15, 2025 https://github.com/python/mypy/pull/19651#pullrequestreview-3123968820
View reviewed changes https://github.com/python/mypy/pull/19651/files/08db3da706be925ac560a94022d253e98a509571
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/08db3da706be925ac560a94022d253e98a509571#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
test-data/unit/lib-stub/builtins.pyihttps://github.com/python/mypy/pull/19651/files/08db3da706be925ac560a94022d253e98a509571#diff-a57171b9ab373829d2f5d9517b53265d05be0ef9dfcb62bdb19cedf9aa2b3939
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/08db3da706be925ac560a94022d253e98a509571#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/08db3da706be925ac560a94022d253e98a509571#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/08db3da706be925ac560a94022d253e98a509571#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/08db3da706be925ac560a94022d253e98a509571#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
randolf-scholzhttps://github.com/randolf-scholz
August 15, 2025 17:41https://github.com/python/mypy/pull/19651#commits-pushed-fac1e07
https://github.com/randolf-scholz
address reviewhttps://github.com/python/mypy/pull/19651/commits/fac1e07267c98421fbcc8978d2031c0ff59001ae
fac1e07https://github.com/python/mypy/pull/19651/commits/fac1e07267c98421fbcc8978d2031c0ff59001ae
https://github.com/randolf-scholz
Merge branch 'python:master' into fix_list_comprehensionhttps://github.com/python/mypy/pull/19651/commits/68bc67174f070c27e6ef98a8d42342c3fd2c8fef
68bc671https://github.com/python/mypy/pull/19651/commits/68bc67174f070c27e6ef98a8d42342c3fd2c8fef
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 15, 2025 https://github.com/python/mypy/pull/19651#ref-pullrequest-3325745260
make ParamSpecFlavor an IntEnum and ParamSpecType generic in that type. #19670 https://github.com/python/mypy/pull/19670
https://github.com/randolf-scholz
check paramspec flavorhttps://github.com/python/mypy/pull/19651/commits/e8dcf880b18b98facdeb6dd330930743b82ec1e5
e8dcf88https://github.com/python/mypy/pull/19651/commits/e8dcf880b18b98facdeb6dd330930743b82ec1e5
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19651
randolf-scholzhttps://github.com/randolf-scholz
August 15, 2025 19:24https://github.com/python/mypy/pull/19651#commits-pushed-fe4289a
https://github.com/randolf-scholz
Revert "check paramspec flavor"https://github.com/python/mypy/pull/19651/commits/fe4289a8f5039b58339685622608b9b7ed9708f3
fe4289ahttps://github.com/python/mypy/pull/19651/commits/fe4289a8f5039b58339685622608b9b7ed9708f3
e8dcf88https://github.com/randolf-scholz/mypy/commit/e8dcf880b18b98facdeb6dd330930743b82ec1e5
https://github.com/randolf-scholz
update parse_star_args_type docstringhttps://github.com/python/mypy/pull/19651/commits/0139c12a1b366edd708856897a4a036987e5573c
0139c12https://github.com/python/mypy/pull/19651/commits/0139c12a1b366edd708856897a4a036987e5573c
https://github.com/randolf-scholz
update parse_star_args_type docstringhttps://github.com/python/mypy/pull/19651/commits/109b4f3b1d7aab22709337ec258805821dc86bb6
109b4f3https://github.com/python/mypy/pull/19651/commits/109b4f3b1d7aab22709337ec258805821dc86bb6
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 16, 2025https://github.com/python/mypy/pull/19651#issuecomment-3193499117
Variadic *args where args: Union[Tuple[...], Tuple[...], ...] are _never_ checked [False Negative] #17161https://github.com/python/mypy/issues/17161
Unpacking an iterable in a list comprehension leads to the type inferred as list[Any] #15747https://github.com/python/mypy/issues/15747
Custom __iter__ method yields false positive when used with star args (*) #14470https://github.com/python/mypy/issues/14470
Unpacking unions of tuples skips type checking #15969https://github.com/python/mypy/issues/15969
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 16, 2025 https://github.com/python/mypy/pull/19651#pullrequestreview-3125870997
View reviewed changes https://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 16, 2025 https://github.com/python/mypy/pull/19651#pullrequestreview-3125871380
View reviewed changes https://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 16, 2025 https://github.com/python/mypy/pull/19651#pullrequestreview-3125871609
View reviewed changes https://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 16, 2025 https://github.com/python/mypy/pull/19651#pullrequestreview-3126004007
View reviewed changes https://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 16, 2025 https://github.com/python/mypy/pull/19651#pullrequestreview-3126004393
View reviewed changes https://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/109b4f3b1d7aab22709337ec258805821dc86bb6#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
Please reload this pagehttps://github.com/python/mypy/pull/19651
randolf-scholzhttps://github.com/randolf-scholz
August 16, 2025 21:26https://github.com/python/mypy/pull/19651#commits-pushed-0a6d757
https://github.com/randolf-scholz
Merge branch 'master' into fix_list_comprehensionhttps://github.com/python/mypy/pull/19651/commits/0a6d7573357271a3ec920efcd959e4b2f0513016
0a6d757https://github.com/python/mypy/pull/19651/commits/0a6d7573357271a3ec920efcd959e4b2f0513016
https://github.com/randolf-scholz
address reviewhttps://github.com/python/mypy/pull/19651/commits/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8
e169d3ehttps://github.com/python/mypy/pull/19651/commits/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 16, 2025https://github.com/python/mypy/pull/19651#issuecomment-3193871043
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Aug 16, 2025https://github.com/python/mypy/pull/19651#issuecomment-3193885899
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://mypy-play.net/?mypy=latest&python=3.12&gist=eb790692cdcb803373269187d9ad0a4ahttps://mypy-play.net/?mypy=latest&python=3.12&gist=eb790692cdcb803373269187d9ad0a4a
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 18, 2025 https://github.com/python/mypy/pull/19651#pullrequestreview-3126994852
View reviewed changes https://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/19651#pullrequestreview-3126994852
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
hauntsaninjahttps://github.com/hauntsaninja
Aug 18, 2025https://github.com/python/mypy/pull/19651#discussion_r2281450419
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Aug 19, 2025 https://github.com/python/mypy/pull/19651#pullrequestreview-3130402767
View reviewed changes https://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
sterliakovhttps://github.com/sterliakov
Aug 19, 2025https://github.com/python/mypy/pull/19651#discussion_r2283843120
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
sterliakovhttps://github.com/sterliakov
Aug 19, 2025https://github.com/python/mypy/pull/19651#discussion_r2283859046
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19651
randolf-scholzhttps://github.com/randolf-scholz
Aug 19, 2025https://github.com/python/mypy/pull/19651#discussion_r2284584700
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
sterliakovhttps://github.com/sterliakov
Aug 19, 2025https://github.com/python/mypy/pull/19651#discussion_r2283870587
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#19662https://github.com/python/mypy/issues/19662
#19662https://github.com/python/mypy/issues/19662
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
sterliakovhttps://github.com/sterliakov
Aug 19, 2025https://github.com/python/mypy/pull/19651#discussion_r2283875255
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19651
mypy/checkexpr.pyhttps://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8#diff-42eda644ce5003e33ea0766d7601fcfb4934ad106429abfe115954a1fccddd07
sterliakovhttps://github.com/sterliakov
Aug 19, 2025https://github.com/python/mypy/pull/19651#discussion_r2283877034
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 19, 2025 https://github.com/python/mypy/pull/19651#ref-issue-3332658594
Check #19651 sterliakov/mypy-issues#154 https://github.com/sterliakov/mypy-issues/issues/154
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Aug 19, 2025https://github.com/python/mypy/pull/19651#issuecomment-3199009999
#18320https://github.com/python/mypy/issues/18320
#16492https://github.com/python/mypy/issues/16492
#6799https://github.com/python/mypy/issues/6799
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Aug 19, 2025https://github.com/python/mypy/pull/19651#issuecomment-3199015676
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Sep 16, 2025 https://github.com/python/mypy/pull/19651#ref-pullrequest-3418493459
reworked star argument checking randolf-scholz/mypy#6 https://github.com/randolf-scholz/mypy/pull/6
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Sep 19, 2025https://github.com/python/mypy/pull/19651#issuecomment-3312947949
@sterliakovhttps://github.com/sterliakov
@hauntsaninjahttps://github.com/hauntsaninja
randolf-scholz#6https://github.com/randolf-scholz/mypy/pull/6
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Oct 10, 2025 https://github.com/python/mypy/pull/19651#ref-issue-3482107575
False positive when using ternary statement #19998 https://github.com/python/mypy/issues/19998
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Dec 14, 2025https://github.com/python/mypy/pull/19651#issuecomment-3652362319
@randolf-scholzhttps://github.com/randolf-scholz
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
December 15, 2025 08:07https://github.com/python/mypy/pull/19651#event-21559611111
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Dec 15, 2025https://github.com/python/mypy/pull/19651#issuecomment-3654592605
Please reload this pagehttps://github.com/python/mypy/pull/19651
@ilevkivskyihttps://github.com/ilevkivskyi
suggestions.pyhttps://github.com/python/mypy/blob/e089abc6a0f69593908fb3f7059f9a1056484b7d/mypy/suggestions.py#L182-L188
testinfer.pyhttps://github.com/python/mypy/blob/e089abc6a0f69593908fb3f7059f9a1056484b7d/mypy/test/testinfer.py#L101-L107
common.pyhttps://github.com/python/mypy/blob/e089abc6a0f69593908fb3f7059f9a1056484b7d/mypy/plugins/common.py#L118-L124
stats.pyhttps://github.com/python/mypy/blob/e089abc6a0f69593908fb3f7059f9a1056484b7d/mypy/stats.py#L283-L289
functools.pyhttps://github.com/python/mypy/blob/e089abc6a0f69593908fb3f7059f9a1056484b7d/mypy/plugins/functools.py#L201-L207
1https://github.com/python/mypy/pull/19651#user-content-fn-1-0c0eb732c07e355720db53f507875682
https://github.com/python/mypy/pull/19651#user-content-fnref-1-0c0eb732c07e355720db53f507875682
Please reload this pagehttps://github.com/python/mypy/pull/19651
type inference failure on custom iterable class unpacking #20435 https://github.com/python/mypy/issues/20435
RFC: Rework *args parsing #20472 https://github.com/python/mypy/pull/20472
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 2, 2026https://github.com/python/mypy/pull/19651#issuecomment-3705872667
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 2, 2026 https://github.com/python/mypy/pull/19651#pullrequestreview-3623591623
View reviewed changes https://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8
mypy/argmap.pyhttps://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8#diff-13b985958cdb372a1e3c1926ddd0715247102ac71fd04f2dc2dd2abe1f58ab95
ilevkivskyihttps://github.com/ilevkivskyi
Jan 2, 2026https://github.com/python/mypy/pull/19651#discussion_r2658120710
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jan 2, 2026https://github.com/python/mypy/pull/19651#issuecomment-3705899418
@ilevkivskyihttps://github.com/ilevkivskyi
#20472https://github.com/python/mypy/pull/20472
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 2, 2026https://github.com/python/mypy/pull/19651#issuecomment-3705955361
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Apr 7, 2026 https://github.com/python/mypy/pull/19651#ref-pullrequest-4196809054
Fix regression involving dict or on recursive dict #21148 https://github.com/python/mypy/pull/21148
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fmypy%2Fpull%2F19651
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8
https://github.com/sterliakov
sterliakov https://github.com/sterliakov
https://github.com/python/mypy/pull/19651/files/e169d3e33ac75a463c257aaf32d00ac0e0ee0cc8
Mypy fails to solve tuple[int, *Ts, int] as an Iterable[T]. https://github.com/python/mypy/issues/19659
Variadic *args where args: Union[Tuple[...], Tuple[...], ...] are _never_ checked [False Negative] https://github.com/python/mypy/issues/17161
Unpacking unions of tuples skips type checking https://github.com/python/mypy/issues/15969
Unpacking an iterable in a list comprehension leads to the type inferred as list[Any] https://github.com/python/mypy/issues/15747
Custom __iter__ method yields false positive when used with star args (*) https://github.com/python/mypy/issues/14470
mypy fails to correctly understand some iterable type in *args https://github.com/python/mypy/issues/19662
Please reload this pagehttps://github.com/python/mypy/pull/19651
https://github.com/randolf-scholz
https://github.com/sterliakov
https://github.com/ilevkivskyi
https://github.com/hauntsaninja
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.