René's URL Explorer Experiment


Title: Change `cache`/`lru_cache` typing to retain function signatures by alwaysmpe · Pull Request #12945 · python/typeshed · GitHub

Open Graph Title: Change `cache`/`lru_cache` typing to retain function signatures by alwaysmpe · Pull Request #12945 · python/typeshed

X Title: Change `cache`/`lru_cache` typing to retain function signatures by alwaysmpe · Pull Request #12945 · python/typeshed

Description: Collection of library stubs for Python, with static types - Change `cache`/`lru_cache` typing to retain function signatures by alwaysmpe · Pull Request #12945 · python/typeshed

Open Graph Description: My attempt at fixing the cache & lru_cache typing problem. Using the newer generics syntax I get the same result in both mypy and pyright. Using the older typevar syntax (which I'm less fam...

X Description: My attempt at fixing the cache & lru_cache typing problem. Using the newer generics syntax I get the same result in both mypy and pyright. Using the older typevar syntax (which I'm ...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:56e223c6-26a9-bcf5-7756-98389a941c81
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCC68:15DE5D:13AF905:19FA9E4:6B0015BA
html-safe-nonced7b2e333fe6d5d78319e2bc21a8d05fc1aa73a3dd5d3f1c921f96edcefd9ceaa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzY4OjE1REU1RDoxM0FGOTA1OjE5RkE5RTQ6NkIwMDE1QkEiLCJ2aXNpdG9yX2lkIjoiNDI2NTg0NjU0MzM1NDk1OTI5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb305c7925192b7c9d5caf01300907f210725926d98e1b6a235adc52b7d14f320
hovercard-subject-tagpull_request:2159536749
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/12945/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b95a070ac33d37f7c091a44703c8473cca6212f637504e16ec2ecf28c8886124/python/typeshed/pull/12945
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b95a070ac33d37f7c091a44703c8473cca6212f637504e16ec2ecf28c8886124/python/typeshed/pull/12945
og:image:altMy attempt at fixing the cache & lru_cache typing problem. Using the newer generics syntax I get the same result in both mypy and pyright. Using the older typevar syntax (which I'm less fam...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealwaysmpe
hostnamegithub.com
expected-hostnamegithub.com
Nonea2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release70121d4e855ee0bb7b75cf15d061d91f8863c0f8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/12945#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12945
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12945
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/12945
Reloadhttps://github.com/python/typeshed/pull/12945
Reloadhttps://github.com/python/typeshed/pull/12945
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests251 (251)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
alwaysmpehttps://github.com/alwaysmpe
python:mainhttps://github.com/python/typeshed/tree/main
alwaysmpe:mainhttps://github.com/alwaysmpe/typeshed/tree/main
Conversationhttps://github.com/python/typeshed/pull/12945
Commits15 (15)https://github.com/python/typeshed/pull/12945/commits
Checkshttps://github.com/python/typeshed/pull/12945/checks
Files changedhttps://github.com/python/typeshed/pull/12945/files
Change cache/lru_cache typing to retain function signatureshttps://github.com/python/typeshed/pull/12945#top
alwaysmpehttps://github.com/alwaysmpe
python:mainhttps://github.com/python/typeshed/tree/main
alwaysmpe:mainhttps://github.com/alwaysmpe/typeshed/tree/main
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issue-2631027807
Please reload this pagehttps://github.com/python/typeshed/pull/12945
commenthttps://github.com/python/typeshed/issues/11280#issuecomment-2453262611
Please reload this pagehttps://github.com/python/typeshed/pull/12945
alwaysmpehttps://github.com/alwaysmpe
November 3, 2024 07:16https://github.com/python/typeshed/pull/12945#commits-pushed-5ca2ed5
https://github.com/alwaysmpe
Change cache/lru_cache typing to retain function signatureshttps://github.com/python/typeshed/pull/12945/commits/5ca2ed5863e84d840d8fe2bf5319d3ad960fbc2d
5ca2ed5https://github.com/python/typeshed/pull/12945/commits/5ca2ed5863e84d840d8fe2bf5319d3ad960fbc2d
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/12945/commits/c16b3518810021a6dd2e85013eb335f7ef86bce9
c16b351https://github.com/python/typeshed/pull/12945/commits/c16b3518810021a6dd2e85013eb335f7ef86bce9
https://github.com/alwaysmpe
Fix remove overload implementationhttps://github.com/python/typeshed/pull/12945/commits/833e40efc045c4ec278d5640d3c7d175695dd753
833e40ehttps://github.com/python/typeshed/pull/12945/commits/833e40efc045c4ec278d5640d3c7d175695dd753
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024 https://github.com/python/typeshed/pull/12945#ref-pullrequest-2208445712
Use ParamSpec for lru_cache #11662 https://github.com/python/typeshed/pull/11662
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2453329819
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12945
alwaysmpehttps://github.com/alwaysmpe
November 3, 2024 07:47https://github.com/python/typeshed/pull/12945#commits-pushed-6e22af9
https://github.com/alwaysmpe
Fix add version gate for typing.Concatenatehttps://github.com/python/typeshed/pull/12945/commits/6e22af965672bee00695ed4a45c8395bc4105258
6e22af9https://github.com/python/typeshed/pull/12945/commits/6e22af965672bee00695ed4a45c8395bc4105258
https://github.com/alwaysmpe
Fix match mypy's expected type invariancehttps://github.com/python/typeshed/pull/12945/commits/ab29e6d28130f5b35624c222a13a3e67567c12fe
ab29e6dhttps://github.com/python/typeshed/pull/12945/commits/ab29e6d28130f5b35624c222a13a3e67567c12fe
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/12945/commits/3cbb7141f430843a86ce088866130e1e7e815b10
3cbb714https://github.com/python/typeshed/pull/12945/commits/3cbb7141f430843a86ce088866130e1e7e815b10
https://github.com/alwaysmpe
Fix copy/paste mistakehttps://github.com/python/typeshed/pull/12945/commits/91f43a29151cf46a90e7f9d444de3ca27ac5f259
91f43a2https://github.com/python/typeshed/pull/12945/commits/91f43a29151cf46a90e7f9d444de3ca27ac5f259
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/12945/commits/54e4fe01fca651d5a700472fa00b5b1163a7a57c
54e4fe0https://github.com/python/typeshed/pull/12945/commits/54e4fe01fca651d5a700472fa00b5b1163a7a57c
https://github.com/alwaysmpe
Fix cache should be positional-onlyhttps://github.com/python/typeshed/pull/12945/commits/fd0d180e957347fd7280a7e9fa70bbb8ef86c3c2
fd0d180https://github.com/python/typeshed/pull/12945/commits/fd0d180e957347fd7280a7e9fa70bbb8ef86c3c2
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/12945/commits/3aaf0ff16186ac7bf8542de8102eb81f122a2c60
3aaf0ffhttps://github.com/python/typeshed/pull/12945/commits/3aaf0ff16186ac7bf8542de8102eb81f122a2c60
https://github.com/alwaysmpe
Remove what I think are nolonger needed ignoreshttps://github.com/python/typeshed/pull/12945/commits/8c5c4698376838954c94ddb710c821713a5ec570
8c5c469https://github.com/python/typeshed/pull/12945/commits/8c5c4698376838954c94ddb710c821713a5ec570
https://github.com/alwaysmpe
Fix final shouldn't have been removedhttps://github.com/python/typeshed/pull/12945/commits/28e87fc73f0f6f5a7b255fde91a51de67ff4e710
28e87fchttps://github.com/python/typeshed/pull/12945/commits/28e87fc73f0f6f5a7b255fde91a51de67ff4e710
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/12945/commits/1d1c46a9e3fb2481c95cae5c84b661eaf7edea59
1d1c46ahttps://github.com/python/typeshed/pull/12945/commits/1d1c46a9e3fb2481c95cae5c84b661eaf7edea59
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12945
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2453335299
Please reload this pagehttps://github.com/python/typeshed/pull/12945
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2453352423
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2453337542
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2453340334
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2453341330
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2453345230
Please reload this pagehttps://github.com/python/typeshed/pull/12945
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12945
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2453347963
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12945
https://github.com/alwaysmpe
Use type invariance recommended by pyright (which I think is correct)https://github.com/python/typeshed/pull/12945/commits/d705819fbbc74a7b700faf49812a7d5f462a8f2a
d705819https://github.com/python/typeshed/pull/12945/commits/d705819fbbc74a7b700faf49812a7d5f462a8f2a
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 3, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2453373615
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/Daverball
Daverballhttps://github.com/Daverball
Nov 3, 2024 https://github.com/python/typeshed/pull/12945#pullrequestreview-2411829092
View reviewed changes https://github.com/python/typeshed/pull/12945/files/d705819fbbc74a7b700faf49812a7d5f462a8f2a
stdlib/functools.pyihttps://github.com/python/typeshed/pull/12945/files/d705819fbbc74a7b700faf49812a7d5f462a8f2a#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157
Daverballhttps://github.com/Daverball
Nov 3, 2024https://github.com/python/typeshed/pull/12945#discussion_r1826955137
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
CONTRIBUTINGhttps://github.com/python/typeshed/blob/main/CONTRIBUTING.md#supported-type-system-features
Please reload this pagehttps://github.com/python/typeshed/pull/12945
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/12945#discussion_r1826956594
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
November 3, 2024 11:09https://github.com/python/typeshed/pull/12945#event-15095200425
https://github.com/alwaysmpe
Various improvementshttps://github.com/python/typeshed/pull/12945/commits/6af921487147f7bee12da2a2b05195db26014cb1
6af9214https://github.com/python/typeshed/pull/12945/commits/6af921487147f7bee12da2a2b05195db26014cb1
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 4, 2024https://github.com/python/typeshed/pull/12945#issuecomment-2455662688
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 4, 2024https://github.com/python/typeshed/pull/12945#event-15110127058
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 4, 2024 https://github.com/python/typeshed/pull/12945#ref-pullrequest-2633799807
Change cache/lru_cache typing to retain function signatures #12952 https://github.com/python/typeshed/pull/12952
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12945
https://github.com/Daverball
Daverball https://github.com/Daverball
https://github.com/python/typeshed/pull/12945/files/d705819fbbc74a7b700faf49812a7d5f462a8f2a
Please reload this pagehttps://github.com/python/typeshed/pull/12945
Please reload this pagehttps://github.com/python/typeshed/pull/12945
https://github.com/alwaysmpe
https://github.com/Daverball
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.