GH-93179: Document the thread safety of functools.lru_cache#96101
GH-93179: Document the thread safety of functools.lru_cache#96101rhettinger merged 1 commit intopython:mainfrom
Conversation
|
Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
Sorry, @rhettinger, I could not cleanly backport this to |
|
Sorry, but we have an issue with the In the code it has thread lock, but problem that it's done outside of the function call. As result, we have issue with threads - function call made multiple times, but we expected that this Currently I'm in a doubt, should we create our own version of the decorator that will have the lock over the whole |

functools.lru_cache#93179