René's URL Explorer Experiment


Title: Combine the revealed types of multiple iteration steps in a more robust manner. by tyralla · Pull Request #19324 · python/mypy · GitHub

Open Graph Title: Combine the revealed types of multiple iteration steps in a more robust manner. by tyralla · Pull Request #19324 · python/mypy

X Title: Combine the revealed types of multiple iteration steps in a more robust manner. by tyralla · Pull Request #19324 · python/mypy

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

Open Graph Description: This PR fixes a regression introduced in #19118 and discussed in #19270. The combination of the revealed types of individual iteration steps now relies on collecting the original type objects inst...

X Description: This PR fixes a regression introduced in #19118 and discussed in #19270. The combination of the revealed types of individual iteration steps now relies on collecting the original type objects inst...

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

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:f28b5d0e-e985-75f1-2486-0ab55d728993
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9690:198581:1C0EF8A:254938D:6A5AE919
html-safe-nonce1228741c5861b32893420a4cf5c2ee87226b885c01ad5ad1d279d0dfa545083c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjkwOjE5ODU4MToxQzBFRjhBOjI1NDkzOEQ6NkE1QUU5MTkiLCJ2aXNpdG9yX2lkIjoiNjMyNjM0NjU2ODA0NTM1NzMzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7fb2ce402d4893fde535a427e0709480f9c398b7165afb8e6f74b366a19d8b43
hovercard-subject-tagpull_request:2609326393
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/mypy/19324/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/526266c563b763d50abe99e460cd22b8beec4a565c33e3ed3e3f6802631e93b2/python/mypy/pull/19324
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/526266c563b763d50abe99e460cd22b8beec4a565c33e3ed3e3f6802631e93b2/python/mypy/pull/19324
og:image:altThis PR fixes a regression introduced in #19118 and discussed in #19270. The combination of the revealed types of individual iteration steps now relies on collecting the original type objects inst...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametyralla
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/mypy/pull/19324#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19324
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
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%2F19324
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%2Fmypy
Reloadhttps://github.com/python/mypy/pull/19324
Reloadhttps://github.com/python/mypy/pull/19324
Reloadhttps://github.com/python/mypy/pull/19324
Please reload this pagehttps://github.com/python/mypy/pull/19324
python https://github.com/python
mypyhttps://github.com/python/mypy
Please reload this pagehttps://github.com/python/mypy/pull/19324
Notifications https://github.com/login?return_to=%2Fpython%2Fmypy
Fork 3.2k https://github.com/login?return_to=%2Fpython%2Fmypy
Star 20.5k 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 467 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
JukkaLhttps://github.com/JukkaL
python:masterhttps://github.com/python/mypy/tree/master
tyralla:fix/better_reveal_type_unionshttps://github.com/tyralla/mypy/tree/fix/better_reveal_type_unions
Conversationhttps://github.com/python/mypy/pull/19324
Commits9 (9)https://github.com/python/mypy/pull/19324/commits
Checkshttps://github.com/python/mypy/pull/19324/checks
Files changedhttps://github.com/python/mypy/pull/19324/files
Combine the revealed types of multiple iteration steps in a more robust manner.https://github.com/python/mypy/pull/19324#top
JukkaLhttps://github.com/JukkaL
python:masterhttps://github.com/python/mypy/tree/master
tyralla:fix/better_reveal_type_unionshttps://github.com/tyralla/mypy/tree/fix/better_reveal_type_unions
https://github.com/tyralla
tyrallahttps://github.com/tyralla
Jun 21, 2025https://github.com/python/mypy/pull/19324#issue-3165455942
Please reload this pagehttps://github.com/python/mypy/pull/19324
#19118https://github.com/python/mypy/pull/19118
#19270https://github.com/python/mypy/pull/19270
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/19324
tyrallahttps://github.com/tyralla
June 21, 2025 23:38https://github.com/python/mypy/pull/19324#commits-pushed-ac3e599
https://github.com/tyralla
Combine the revealed types of multiple iteration steps in a more robu…https://github.com/python/mypy/pull/19324/commits/ac3e599a0168ab9345ddcfa12d55701a2dc4479e
ac3e599https://github.com/python/mypy/pull/19324/commits/ac3e599a0168ab9345ddcfa12d55701a2dc4479e
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/19324/commits/5e30652d5eb63a8a2b6fd96b7eb03b038804ca8f
5e30652https://github.com/python/mypy/pull/19324/commits/5e30652d5eb63a8a2b6fd96b7eb03b038804ca8f
https://pre-commit.cihttps://pre-commit.ci
https://github.com/tyralla
tyrallahttps://github.com/tyralla
JukkaLhttps://github.com/JukkaL
hauntsaninjahttps://github.com/hauntsaninja
June 21, 2025 22:38https://github.com/python/mypy/pull/19324#event-18259077987
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19324
https://github.com/tyralla
tyrallahttps://github.com/tyralla
Jun 21, 2025 https://github.com/python/mypy/pull/19324#ref-issue-3150899916
1.17 Release Planning #19306 https://github.com/python/mypy/issues/19306
https://github.com/CoolCat467
CoolCat467https://github.com/CoolCat467
Jun 22, 2025 https://github.com/python/mypy/pull/19324#pullrequestreview-2948022383
View reviewed changes https://github.com/python/mypy/pull/19324/files/5e30652d5eb63a8a2b6fd96b7eb03b038804ca8f
CoolCat467https://github.com/CoolCat467
https://github.com/python/mypy/pull/19324#pullrequestreview-2948022383
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
https://github.com/tyralla
tyrallahttps://github.com/tyralla
Jun 23, 2025 https://github.com/python/mypy/pull/19324#ref-issue-3166760492
--strict-equality too strict in iteratively visited code #19328 https://github.com/python/mypy/issues/19328
https://github.com/tyralla
remove now unnecessary argumenthttps://github.com/python/mypy/pull/19324/commits/6d7ea084b04e0e58f643894b3844b28067a4ac46
6d7ea08https://github.com/python/mypy/pull/19324/commits/6d7ea084b04e0e58f643894b3844b28067a4ac46
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19324
tyrallahttps://github.com/tyralla
June 24, 2025 21:37https://github.com/python/mypy/pull/19324#commits-pushed-150e5b8
https://github.com/tyralla
refactoringhttps://github.com/python/mypy/pull/19324/commits/150e5b843e144114c5a4ed7e4f4930119937c5db
150e5b8https://github.com/python/mypy/pull/19324/commits/150e5b843e144114c5a4ed7e4f4930119937c5db
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/19324/commits/2a686e3928390510c8957759d933506636726a73
2a686e3https://github.com/python/mypy/pull/19324/commits/2a686e3928390510c8957759d933506636726a73
https://pre-commit.cihttps://pre-commit.ci
https://github.com/tyralla
complete refactoringhttps://github.com/python/mypy/pull/19324/commits/968ac4b4cca1e4b367c6a8f6ae824ffc59136aae
968ac4bhttps://github.com/python/mypy/pull/19324/commits/968ac4b4cca1e4b367c6a8f6ae824ffc59136aae
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19324
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jul 4, 2025 https://github.com/python/mypy/pull/19324#pullrequestreview-2987471732
View reviewed changes https://github.com/python/mypy/pull/19324/files/968ac4b4cca1e4b367c6a8f6ae824ffc59136aae
JukkaLhttps://github.com/JukkaL
https://github.com/python/mypy/pull/19324#pullrequestreview-2987471732
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
mypy/errors.pyhttps://github.com/python/mypy/pull/19324/files/968ac4b4cca1e4b367c6a8f6ae824ffc59136aae#diff-eef80074ed3627574b7a784f0e2a4e9d4670e7c2156f559ada501980ea5d1ca2
JukkaLhttps://github.com/JukkaL
Jul 4, 2025https://github.com/python/mypy/pull/19324#discussion_r2185518415
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
tyrallahttps://github.com/tyralla
Jul 4, 2025https://github.com/python/mypy/pull/19324#discussion_r2186112588
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
mypy/errors.pyhttps://github.com/python/mypy/pull/19324/files/968ac4b4cca1e4b367c6a8f6ae824ffc59136aae#diff-eef80074ed3627574b7a784f0e2a4e9d4670e7c2156f559ada501980ea5d1ca2
JukkaLhttps://github.com/JukkaL
Jul 4, 2025https://github.com/python/mypy/pull/19324#discussion_r2185577201
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
tyrallahttps://github.com/tyralla
Jul 4, 2025https://github.com/python/mypy/pull/19324#discussion_r2186112253
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
mypy/messages.pyhttps://github.com/python/mypy/pull/19324/files/968ac4b4cca1e4b367c6a8f6ae824ffc59136aae#diff-81ed300e83205366be4a93b57bbe65edb0826dbeda7f1655e506d5cc103c69c0
JukkaLhttps://github.com/JukkaL
Jul 4, 2025https://github.com/python/mypy/pull/19324#discussion_r2185588826
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
tyrallahttps://github.com/tyralla
Jul 4, 2025https://github.com/python/mypy/pull/19324#discussion_r2186112675
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
mypy/errors.pyhttps://github.com/python/mypy/pull/19324/files/968ac4b4cca1e4b367c6a8f6ae824ffc59136aae#diff-eef80074ed3627574b7a784f0e2a4e9d4670e7c2156f559ada501980ea5d1ca2
JukkaLhttps://github.com/JukkaL
Jul 4, 2025https://github.com/python/mypy/pull/19324#discussion_r2185606196
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
tyrallahttps://github.com/tyralla
Jul 4, 2025https://github.com/python/mypy/pull/19324#discussion_r2186113447
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19324
tyrallahttps://github.com/tyralla
July 4, 2025 22:43https://github.com/python/mypy/pull/19324#commits-pushed-349292a
https://github.com/tyralla
property watchers --> method get_watchershttps://github.com/python/mypy/pull/19324/commits/349292af2e45b9a2bf00a2e0003c9e50666db2ef
349292ahttps://github.com/python/mypy/pull/19324/commits/349292af2e45b9a2bf00a2e0003c9e50666db2ef
https://github.com/tyralla
apply make_simplified_union in messages.py instead of errors.pyhttps://github.com/python/mypy/pull/19324/commits/4d3345bc3d5394a893e281aabae835d8b911de3c
4d3345bhttps://github.com/python/mypy/pull/19324/commits/4d3345bc3d5394a893e281aabae835d8b911de3c
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/19324/commits/622906c7a61db6aade6778a1312ab25edac104ae
622906chttps://github.com/python/mypy/pull/19324/commits/622906c7a61db6aade6778a1312ab25edac104ae
https://pre-commit.cihttps://pre-commit.ci
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 4, 2025https://github.com/python/mypy/pull/19324#issuecomment-3037299259
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/19324
https://github.com/tyralla
tyrallahttps://github.com/tyralla
Jul 4, 2025https://github.com/python/mypy/pull/19324#issuecomment-3037370780
Please reload this pagehttps://github.com/python/mypy/pull/19324
https://github.com/tyralla
tyrallahttps://github.com/tyralla
JukkaLhttps://github.com/JukkaL
July 4, 2025 23:02https://github.com/python/mypy/pull/19324#event-18478666703
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jul 7, 2025 https://github.com/python/mypy/pull/19324#pullrequestreview-2992932186
View reviewed changes https://github.com/python/mypy/pull/19324/files/622906c7a61db6aade6778a1312ab25edac104ae
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
1fde143https://github.com/python/mypy/commit/1fde1438f6c47963ecd6e10a8c410ac41ba05103
Jul 7, 2025https://github.com/python/mypy/pull/19324#event-18500802045
Please reload this pagehttps://github.com/python/mypy/pull/19324
https://github.com/tyralla
tyrallahttps://github.com/tyralla
Jul 7, 2025 https://github.com/python/mypy/pull/19324#ref-pullrequest-3125948228
Improve the support for promotions inside unions. #19245 https://github.com/python/mypy/pull/19245
esarphttps://github.com/esarp
Jul 10, 2025 https://github.com/python/mypy/pull/19324#ref-commit-a182dec
https://github.com/tyralla
https://github.com/esarp
Combine the revealed types of multiple iteration steps in a more robu…https://github.com/python/mypy/commit/a182dec997b418b925fe0c28575c50debba0bb3a
a182dechttps://github.com/python/mypy/commit/a182dec997b418b925fe0c28575c50debba0bb3a
#19324https://github.com/python/mypy/pull/19324
#19118https://github.com/python/mypy/pull/19118
#19270https://github.com/python/mypy/pull/19270
@JukkaLhttps://github.com/JukkaL
https://github.com/tyralla
tyrallahttps://github.com/tyralla
Oct 12, 2025 https://github.com/python/mypy/pull/19324#ref-pullrequest-3307443515
Fix --strict-equality for iteratively visited code #19635 https://github.com/python/mypy/pull/19635
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%2F19324
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/mypy/pull/19324/files/622906c7a61db6aade6778a1312ab25edac104ae
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/CoolCat467
CoolCat467 https://github.com/CoolCat467
https://github.com/python/mypy/pull/19324/files/5e30652d5eb63a8a2b6fd96b7eb03b038804ca8f
Please reload this pagehttps://github.com/python/mypy/pull/19324
https://github.com/tyralla
https://github.com/JukkaL
https://github.com/CoolCat467
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.