René's URL Explorer Experiment


Title: Use ParamSpec for lru_cache by cdce8p · Pull Request #11662 · python/typeshed · GitHub

Open Graph Title: Use ParamSpec for lru_cache by cdce8p · Pull Request #11662 · python/typeshed

X Title: Use ParamSpec for lru_cache by cdce8p · Pull Request #11662 · python/typeshed

Description: Collection of library stubs for Python, with static types - Use ParamSpec for lru_cache by cdce8p · Pull Request #11662 · python/typeshed

Open Graph Description: This was originally added in #6221 but later reverted due to an incomplete ParamSpec implementation in mypy at the time. Maybe it works now. Refs: Revert "lru_cache preserves signature of wra...

X Description: This was originally added in #6221 but later reverted due to an incomplete ParamSpec implementation in mypy at the time. Maybe it works now. Refs: Revert "lru_cache preserves signature of...

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

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:825590d8-801e-0640-b6e6-4fd31c3e2841
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD3E:1DA187:29AFC19:36A08CE:6B000A0D
html-safe-nonce9f2b81ca694178977bfdc686e15919b40d6617f1f8208e132b8b35891680fd10
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDNFOjFEQTE4NzoyOUFGQzE5OjM2QTA4Q0U6NkIwMDBBMEQiLCJ2aXNpdG9yX2lkIjoiNTkzNTQ4MzkzMjU3MjEyNTcwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7a5175961a15f4c2bfe282e4920e9b17044f5be270a345dfecdcc6c08240621e
hovercard-subject-tagpull_request:1791840116
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/11662/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b5a76bec63288b4fed9306e945fa69bbd2dba64e88111653af7f91b3871ce213/python/typeshed/pull/11662
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b5a76bec63288b4fed9306e945fa69bbd2dba64e88111653af7f91b3871ce213/python/typeshed/pull/11662
og:image:altThis was originally added in #6221 but later reverted due to an incomplete ParamSpec implementation in mypy at the time. Maybe it works now. Refs: Revert "lru_cache preserves signature of wra...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecdce8p
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
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
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/11662#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F11662
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%2F11662
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/11662
Reloadhttps://github.com/python/typeshed/pull/11662
Reloadhttps://github.com/python/typeshed/pull/11662
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
cdce8phttps://github.com/cdce8p
python:mainhttps://github.com/python/typeshed/tree/main
cdce8p:lru-cache-paramspechttps://github.com/cdce8p/typeshed/tree/lru-cache-paramspec
Conversationhttps://github.com/python/typeshed/pull/11662
Commits2 (2)https://github.com/python/typeshed/pull/11662/commits
Checkshttps://github.com/python/typeshed/pull/11662/checks
Files changedhttps://github.com/python/typeshed/pull/11662/files
Use ParamSpec for lru_cachehttps://github.com/python/typeshed/pull/11662#top
cdce8phttps://github.com/cdce8p
python:mainhttps://github.com/python/typeshed/tree/main
cdce8p:lru-cache-paramspechttps://github.com/cdce8p/typeshed/tree/lru-cache-paramspec
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Mar 26, 2024https://github.com/python/typeshed/pull/11662#issue-2208445712
Please reload this pagehttps://github.com/python/typeshed/pull/11662
#6221https://github.com/python/typeshed/pull/6221
Revert "lru_cache preserves signature of wrapped function (#6221)" #6356https://github.com/python/typeshed/pull/6356
functools._lru_cache_wrapper should be a descriptor class, not a callable #6347https://github.com/python/typeshed/issues/6347
https://discuss.python.org/t/allow-self-binding-for-generic-paramspec/50948https://discuss.python.org/t/allow-self-binding-for-generic-paramspec/50948
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/cdce8p
Use ParamSpec for lru_cachehttps://github.com/python/typeshed/pull/11662/commits/ad8bcf817a4bd5be6963661acf5e7f2b16828c43
ad8bcf8https://github.com/python/typeshed/pull/11662/commits/ad8bcf817a4bd5be6963661acf5e7f2b16828c43
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Mar 26, 2024 https://github.com/python/typeshed/pull/11662#pullrequestreview-1960643902
View reviewed changes https://github.com/python/typeshed/pull/11662/files/ad8bcf817a4bd5be6963661acf5e7f2b16828c43
stdlib/functools.pyihttps://github.com/python/typeshed/pull/11662/files/ad8bcf817a4bd5be6963661acf5e7f2b16828c43#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/cdce8p
Use Selfhttps://github.com/python/typeshed/pull/11662/commits/aa7d960c17d4481a196ef32b600e21e794bddd61
aa7d960https://github.com/python/typeshed/pull/11662/commits/aa7d960c17d4481a196ef32b600e21e794bddd61
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Mar 26, 2024 https://github.com/python/typeshed/pull/11662#pullrequestreview-1960668506
View reviewed changes https://github.com/python/typeshed/pull/11662/files/aa7d960c17d4481a196ef32b600e21e794bddd61
JelleZijlstrahttps://github.com/JelleZijlstra
https://github.com/python/typeshed/pull/11662#pullrequestreview-1960668506
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 26, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2020650479
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Mar 26, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2020661145
https://github.com/python/mypy/blob/99f4b8138467c9a77003369b01242c202a6599c0/mypy/find_sources.py#L162https://github.com/python/mypy/blob/99f4b8138467c9a77003369b01242c202a6599c0/mypy/find_sources.py#L162
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 26, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2020702986
Please reload this pagehttps://github.com/python/typeshed/pull/11662
#7771https://github.com/python/typeshed/pull/7771
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 26, 2024https://github.com/python/typeshed/pull/11662#event-12252253052
@functools.cache destroys the function signature #11280 https://github.com/python/typeshed/issues/11280
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Mar 26, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2020914175
#7771https://github.com/python/typeshed/pull/7771
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 26, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2020929168
Please reload this pagehttps://github.com/python/typeshed/pull/11662
python/typing#946https://github.com/python/typing/discussions/946
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/Viicos
Viicoshttps://github.com/Viicos
Mar 27, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2022209944
Please reload this pagehttps://github.com/python/typeshed/pull/11662
#7771https://github.com/python/typeshed/pull/7771
pyright playgroundhttps://pyright-play.net/?pythonVersion=3.12&pythonPlatform=Linux&locale=en&code=GYJw9gtgBALgngBwJYDsDmUkQWEM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YdpY81IOkKBgPgwUyHo-b4MAuBQDV%2BEKCklwaD9SD4JhxAja6J0TOe428DaCiAwxinbnw00WEAA
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/strangemonad
strangemonadhttps://github.com/strangemonad
Mar 31, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2028883715
microsoft/pyright#7594https://github.com/microsoft/pyright/issues/7594
microsoft/pyright#6668https://github.com/microsoft/pyright/issues/6668
microsoft/pyright#2133https://github.com/microsoft/pyright/issues/2133
microsoft/pyright#2578https://github.com/microsoft/pyright/issues/2578
#2569https://github.com/python/typeshed/issues/2569
#4638https://github.com/python/typeshed/issues/4638
#4849https://github.com/python/typeshed/issues/4849
#6347https://github.com/python/typeshed/issues/6347
#6987https://github.com/python/typeshed/issues/6987
#11662https://github.com/python/typeshed/pull/11662
#7771https://github.com/python/typeshed/pull/7771
#6347https://github.com/python/typeshed/issues/6347
#11662 (review)https://github.com/python/typeshed/pull/11662#pullrequestreview-1960668506
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 7, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2041432019
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Apr 14, 2024 https://github.com/python/typeshed/pull/11662#ref-pullrequest-2242162259
Allow self binding for generic ParamSpec python/mypy#17123 https://github.com/python/mypy/pull/17123
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Apr 14, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2054062916
https://discuss.python.org/t/allow-self-binding-for-generic-paramspec/50948https://discuss.python.org/t/allow-self-binding-for-generic-paramspec/50948
python/mypy#17123https://github.com/python/mypy/pull/17123
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/srittau
srittauhttps://github.com/srittau
status: deferred https://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22status%3A%20deferred%22
Apr 14, 2024https://github.com/python/typeshed/pull/11662#event-12460455700
https://github.com/srittau
srittauhttps://github.com/srittau
Apr 14, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2054064824
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Apr 14, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2054066963
python/mypy#17123https://github.com/python/mypy/pull/17123
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Apr 15, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2054234954
@Viicoshttps://github.com/Viicos
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/Viicos
Viicoshttps://github.com/Viicos
Apr 16, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2058385261
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/Viicos
Viicoshttps://github.com/Viicos
Jul 11, 2024 https://github.com/python/typeshed/pull/11662#ref-issue-2401138590
full typing support for validate_call as well as easy access to raw calls pydantic/pydantic#9883 https://github.com/pydantic/pydantic/issues/9883
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2453284051
#11280https://github.com/python/typeshed/issues/11280#issuecomment-2453262611
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Nov 3, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2453305779
@alwaysmpehttps://github.com/alwaysmpe
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 3, 2024https://github.com/python/typeshed/pull/11662#issuecomment-2453328852
@cdce8phttps://github.com/cdce8p
#12945https://github.com/python/typeshed/pull/12945
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/alwaysmpe
alwaysmpehttps://github.com/alwaysmpe
Nov 18, 2024 https://github.com/python/typeshed/pull/11662#ref-pullrequest-2666786791
Add type signatures to lru_cache using overloads (not ready to merge) #13033 https://github.com/python/typeshed/pull/13033
https://github.com/Vizonex
Vizonexhttps://github.com/Vizonex
Jul 12, 2025 https://github.com/python/typeshed/pull/11662#ref-pullrequest-1820727186
Use ParamSpec for wrapped signatures aio-libs/async-lru#508 https://github.com/aio-libs/async-lru/pull/508
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%2F11662
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/typeshed/pull/11662/files/aa7d960c17d4481a196ef32b600e21e794bddd61
Please reload this pagehttps://github.com/python/typeshed/pull/11662
status: deferred https://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22status%3A%20deferred%22
@functools.cache destroys the function signature https://github.com/python/typeshed/issues/11280
Please reload this pagehttps://github.com/python/typeshed/pull/11662
https://github.com/cdce8p
https://github.com/JelleZijlstra
https://github.com/AlexWaygood
https://github.com/Viicos
https://github.com/strangemonad
https://github.com/srittau
https://github.com/hauntsaninja
https://github.com/alwaysmpe
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.