Skip to content

It is not possible to disable sanitization via NUMEXP_SANITIZE when using numexpr.NumExpr #450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
loichuder opened this issue Sep 13, 2023 · 2 comments
Labels

Comments

@loichuder
Copy link

loichuder commented Sep 13, 2023

While encountering #449, I tried to get rid of it by disabling the sanitization.

Unfortunately, the code I am calling is using numexpr.NumExpr so that setting NUMEXP_SANITIZE to 0 does not work. (NUMEXP_SANITIZE is only checked when using validate.)

Is this the intended behaviour ?

@27rabbitlt
Copy link
Contributor

It seems that sanitize works only before evaluation but not when NumExpr is created. I don't know if there is any benefit allowing NumExpr not being sanitized. I guess it's unintended.

Copy link

Message to comment on stale issues. If none provided, will not mark issues stale

@github-actions github-actions bot added the Stale label Feb 17, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants