-
Notifications
You must be signed in to change notification settings - Fork 205
Closed
Labels
enhancementnew feature requests (or implementation)new feature requests (or implementation)
Milestone
Description
Currently, it fails: #974 (comment)
I suspect, that this mostly coming from using global caches, e.g.:
mpmath/mpmath/libmp/libelefun.py
Lines 46 to 50 in 5d66b10
| cos_sin_cache = {} | |
| # Number of integer logarithms to cache (for zeta sums) | |
| MAX_LOG_INT_CACHE = 2000 | |
| log_int_cache = {} |
See https://py-free-threading.github.io/porting/#dealing-with-mutable-global-state
We also use lru_cache(), which is not thread-safe, until recently.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementnew feature requests (or implementation)new feature requests (or implementation)