In sympy.core.parameters it is written that "WARNING! Although the global
parameters are thread-local, SymPy's cache is not by now. This may lead to
undesired result in multi-threading operations."
But in code I see
def __setattr__(self, name, value):
if getattr(self, name) != value:
clear_cache()
return super().__setattr__(name, value)
So, does this workaround help to use this feature safely?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/2cdadaf4-5513-49ee-9bc9-ee5f4be40120o%40googlegroups.com.