On Tue, 12 Sep 2023 14:56:08 -0700
Robert McLeod <[email protected]> wrote:
> Hi everyone,
>
> NumExpr 2.8.6 is a release to deal with issues related to downstream
> `pandas`
> where the sanitization blacklist was hitting private variables used in their
> evaluate. In addition the sanitization was hitting on scientific notation.
I believe this sanitization is a bit too strong since the Avogadro
number is no more compatible with numexpr:
numexpr.evaluate("6.02e23")
nor is the charge of the electron:
numexpr.evaluate("1.6e-19")
...
I would call this a bug !
> For those who do not wish to have sanitization on by default, it can
> be changed
> by setting an environment variable, `NUMEXPR_SANITIZE=0`.
Noted ...
--
Jérôme Kieffer
_______________________________________________
NumPy-Discussion mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: [email protected]