| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:9a72bf40-2fdd-fa56-9311-099541248f14 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E928:2A087:276C7:35049:6B0019ED |
| html-safe-nonce | 2409275db91e460cc59e32d116e27fe4012c5412f3459d3df22e14df644c1dfd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTI4OjJBMDg3OjI3NkM3OjM1MDQ5OjZCMDAxOUVEIiwidmlzaXRvcl9pZCI6IjQ1NDc1OTA2Mzg0MjE0MTY0MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a77836a4f4371b9f238802e21128d8864f6f7ce068c83e94f44042eb6f30b73b |
| hovercard-subject-tag | pull_request:2662417142 |
| 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/mypy/19432/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/980b44db7904ea22406b33260e4c45a491cdd6fece6ee0243a9f9bc105d88859/python/mypy/pull/19432 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/980b44db7904ea22406b33260e4c45a491cdd6fece6ee0243a9f9bc105d88859/python/mypy/pull/19432 |
| og:image:alt | Add support for functools.lru_cache decorator, Fixes #16261
Description
Problem: Functions decorated with @lru_cache lose their original type signatures, preventing mypy from validating function ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | machin0r |
| hostname | github.com |
| expected-hostname | github.com |
| None | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/mypy/pull/19432#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19432 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19432 |
| 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 |
| Reload | https://github.com/python/mypy/pull/19432 |
| Reload | https://github.com/python/mypy/pull/19432 |
| Reload | https://github.com/python/mypy/pull/19432 |
| python | https://github.com/python |
| mypy | https://github.com/python/mypy |
| Code | https://github.com/python/mypy |
| Issues2.7k (2.7k) | https://github.com/python/mypy/issues |
| Pull requests546 (546) | 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/insights |
| https://github.com/python/mypy |
| machin0r | https://github.com/machin0r |
| python:master | https://github.com/python/mypy/tree/master |
| machin0r:implement-lru-cache-support | https://github.com/machin0r/mypy/tree/implement-lru-cache-support |
| Conversation | https://github.com/python/mypy/pull/19432 |
| Commits1 (1) | https://github.com/python/mypy/pull/19432/commits |
| Checks | https://github.com/python/mypy/pull/19432/checks |
| Files changed | https://github.com/python/mypy/pull/19432/files |
| Add functools.lru_cache plugin support Fixes #16261 | https://github.com/python/mypy/pull/19432#top |
| machin0r | https://github.com/machin0r |
| python:master | https://github.com/python/mypy/tree/master |
| machin0r:implement-lru-cache-support | https://github.com/machin0r/mypy/tree/implement-lru-cache-support |
|
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| Jul 13, 2025 | https://github.com/python/mypy/pull/19432#issue-3226664782 |
| #16261 | https://github.com/python/mypy/issues/16261 |
| Please reload this page | https://github.com/python/mypy/pull/19432 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| July 13, 2025 17:14 | https://github.com/python/mypy/pull/19432#event-18606088632 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| July 13, 2025 17:47 | https://github.com/python/mypy/pull/19432#event-18606192292 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19432 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| force-pushed | https://github.com/python/mypy/compare/9aa3d9f39526186217c478fea7c163683775ca94..a4372e82278318bc0a140f8465df3331a9d00fbe |
| 9aa3d9f | https://github.com/python/mypy/commit/9aa3d9f39526186217c478fea7c163683775ca94 |
| a4372e8 | https://github.com/python/mypy/commit/a4372e82278318bc0a140f8465df3331a9d00fbe |
|
Compare
| https://github.com/python/mypy/compare/9aa3d9f39526186217c478fea7c163683775ca94..a4372e82278318bc0a140f8465df3331a9d00fbe |
| July 13, 2025 18:35 | https://github.com/python/mypy/pull/19432#event-18606341865 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| July 13, 2025 18:46 | https://github.com/python/mypy/pull/19432#event-18606370473 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| force-pushed | https://github.com/python/mypy/compare/a4372e82278318bc0a140f8465df3331a9d00fbe..d9d5d00de64aa3108cf36a6be3e0b35a50e8652e |
| a4372e8 | https://github.com/python/mypy/commit/a4372e82278318bc0a140f8465df3331a9d00fbe |
| d9d5d00 | https://github.com/python/mypy/commit/d9d5d00de64aa3108cf36a6be3e0b35a50e8652e |
|
Compare
| https://github.com/python/mypy/compare/a4372e82278318bc0a140f8465df3331a9d00fbe..d9d5d00de64aa3108cf36a6be3e0b35a50e8652e |
| July 13, 2025 18:49 | https://github.com/python/mypy/pull/19432#event-18606380057 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19432 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| July 13, 2025 19:46 | https://github.com/python/mypy/pull/19432#event-18606529903 |
| https://github.com/cdce8p |
| cdce8p | https://github.com/cdce8p |
|
topic-plugins
| https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Atopic-plugins |
| Jul 15, 2025 | https://github.com/python/mypy/pull/19432#event-18636448212 |
| https://github.com/correctmost |
| correctmost | https://github.com/correctmost |
|
Aug 5, 2025
| https://github.com/python/mypy/pull/19432#ref-pullrequest-3293735298 |
|
Fix a type annotation for list_available_packages
archlinux/archinstall#3711
| https://github.com/archlinux/archinstall/pull/3711 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| Aug 17, 2025 | https://github.com/python/mypy/pull/19432#issuecomment-3194387730 |
| Please reload this page | https://github.com/python/mypy/pull/19432 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| Oct 22, 2025 | https://github.com/python/mypy/pull/19432#issuecomment-3434436747 |
| Please reload this page | https://github.com/python/mypy/pull/19432 |
|
Parameters for a call to a function wrapped in a lru_cache are not checked
#16261
| https://github.com/python/mypy/issues/16261 |
|
Add full support for functools.lru_cache
#19291
| https://github.com/python/mypy/issues/19291 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| force-pushed | https://github.com/python/mypy/compare/d9d5d00de64aa3108cf36a6be3e0b35a50e8652e..671ce92f29a33d88698844c2c97142b10b4825c0 |
| d9d5d00 | https://github.com/python/mypy/commit/d9d5d00de64aa3108cf36a6be3e0b35a50e8652e |
| 671ce92 | https://github.com/python/mypy/commit/671ce92f29a33d88698844c2c97142b10b4825c0 |
|
Compare
| https://github.com/python/mypy/compare/d9d5d00de64aa3108cf36a6be3e0b35a50e8652e..671ce92f29a33d88698844c2c97142b10b4825c0 |
| December 23, 2025 16:11 | https://github.com/python/mypy/pull/19432#event-21728427054 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19432 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| force-pushed | https://github.com/python/mypy/compare/671ce92f29a33d88698844c2c97142b10b4825c0..edfda9b343b5cd2cc64306095e578a0d6e4bf6a2 |
| 671ce92 | https://github.com/python/mypy/commit/671ce92f29a33d88698844c2c97142b10b4825c0 |
| edfda9b | https://github.com/python/mypy/commit/edfda9b343b5cd2cc64306095e578a0d6e4bf6a2 |
|
Compare
| https://github.com/python/mypy/compare/671ce92f29a33d88698844c2c97142b10b4825c0..edfda9b343b5cd2cc64306095e578a0d6e4bf6a2 |
| December 23, 2025 17:18 | https://github.com/python/mypy/pull/19432#event-21729610630 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19432 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| force-pushed | https://github.com/python/mypy/compare/2c022eabdc28fdd454b681a78ab016e8a631669c..3e81c9d2bd1b3dea10cf7d0cc82410a83de04ab0 |
| 2c022ea | https://github.com/python/mypy/commit/2c022eabdc28fdd454b681a78ab016e8a631669c |
| 3e81c9d | https://github.com/python/mypy/commit/3e81c9d2bd1b3dea10cf7d0cc82410a83de04ab0 |
|
Compare
| https://github.com/python/mypy/compare/2c022eabdc28fdd454b681a78ab016e8a631669c..3e81c9d2bd1b3dea10cf7d0cc82410a83de04ab0 |
| December 23, 2025 23:19 | https://github.com/python/mypy/pull/19432#event-21733897540 |
|
| https://github.com/machin0r |
| Add functools.lru_cache plugin support | https://github.com/python/mypy/pull/19432/commits/d9466f025c00c7f2ace1398311be64ab8143215c |
| d9466f0 | https://github.com/python/mypy/pull/19432/commits/d9466f025c00c7f2ace1398311be64ab8143215c |
| python#16261 | https://github.com/python/mypy/issues/16261 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| force-pushed | https://github.com/python/mypy/compare/98f019369ce03fafcd575c0139ea5e4549c2adf8..d9466f025c00c7f2ace1398311be64ab8143215c |
| 98f0193 | https://github.com/python/mypy/commit/98f019369ce03fafcd575c0139ea5e4549c2adf8 |
| d9466f0 | https://github.com/python/mypy/commit/d9466f025c00c7f2ace1398311be64ab8143215c |
|
Compare
| https://github.com/python/mypy/compare/98f019369ce03fafcd575c0139ea5e4549c2adf8..d9466f025c00c7f2ace1398311be64ab8143215c |
| December 23, 2025 23:38 | https://github.com/python/mypy/pull/19432#event-21734009605 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19432 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| Dec 24, 2025 | https://github.com/python/mypy/pull/19432#issuecomment-3688252666 |
| @JukkaL | https://github.com/JukkaL |
| @hauntsaninja | https://github.com/hauntsaninja |
| Please reload this page | https://github.com/python/mypy/pull/19432 |
| https://github.com/machin0r |
| machin0r | https://github.com/machin0r |
| force-pushed | https://github.com/python/mypy/compare/d92d24a38f5ace74038d87ce121cf9b95cf66923..d9466f025c00c7f2ace1398311be64ab8143215c |
| d92d24a | https://github.com/python/mypy/commit/d92d24a38f5ace74038d87ce121cf9b95cf66923 |
| d9466f0 | https://github.com/python/mypy/commit/d9466f025c00c7f2ace1398311be64ab8143215c |
|
Compare
| https://github.com/python/mypy/compare/d92d24a38f5ace74038d87ce121cf9b95cf66923..d9466f025c00c7f2ace1398311be64ab8143215c |
| March 7, 2026 12:26 | https://github.com/python/mypy/pull/19432#event-23357577506 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Mar 7, 2026 | https://github.com/python/mypy/pull/19432#issuecomment-4016411431 |
| mypy_primer | https://github.com/hauntsaninja/mypy_primer |
| Please reload this page | https://github.com/python/mypy/pull/19432 |
| https://github.co/hiddenchars |
| https://github.com/python/mypy/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%2Fmypy%2Fpull%2F19432 |
| Please reload this page | https://github.com/python/mypy/pull/19432 |
|
topic-plugins
| https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Atopic-plugins |
|
Parameters for a call to a function wrapped in a lru_cache are not checked
| https://github.com/python/mypy/issues/16261 |
| Please reload this page | https://github.com/python/mypy/pull/19432 |
|
| https://github.com/machin0r |
|
| https://github.com/cdce8p |
|
| 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 |