fix: avoid binding loop for invalid cache keys#740
fix: avoid binding loop for invalid cache keys#740BobTheBuidler wants to merge 4 commits intoaio-libs:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #740 +/- ##
==========================================
+ Coverage 97.37% 97.42% +0.04%
==========================================
Files 15 15
Lines 991 1008 +17
Branches 56 56
==========================================
+ Hits 965 982 +17
Misses 23 23
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Merging this PR will improve performance by ×15
Performance Changes
Comparing Footnotes
|
Summary
Rationale
Unhashable keys should raise TypeError without permanently binding the cache to the current event loop.
Details
Tests: python -m pytest
Fixes #739