Skip to content

Use ParamSpec for LRU Cache Typing (#2629)#2634

Closed
q404365631 wants to merge 1 commit into
falconry:masterfrom
q404365631:feat/use-paramspec-lru-typing-2629
Closed

Use ParamSpec for LRU Cache Typing (#2629)#2634
q404365631 wants to merge 1 commit into
falconry:masterfrom
q404365631:feat/use-paramspec-lru-typing-2629

Conversation

@q404365631
Copy link
Copy Markdown

New module with PEP-612 ParamSpec typing for lru_cache and ttl_cache decorators preserving function signatures. Closes #2629

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (003e175) to head (93d9984).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2634   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           64        64           
  Lines         7976      7976           
  Branches      1102      1102           
=========================================
  Hits          7976      7976           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vytas7
Copy link
Copy Markdown
Member

vytas7 commented Apr 26, 2026

Hi, and thanks for this contribution.

Unfortunately, this does not align with the structure and quality requirements of this project; I suggest we restart this from scratch:

  • Don't remove the PR template.
  • We don't want a new file for these functions, they already exist.
  • Files must end with an LF (\n).

@vytas7 vytas7 closed this Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use ParamSpec to type LRU cache decorators

2 participants