-
-
Notifications
You must be signed in to change notification settings - Fork 216
ValueError exception for scientific notation with digits after . #449
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
Comments
Changing this regular expression: Line 268 in 9c70b43
to:
makes it accept trailing zeros. |
In fact, it was caught by @rebecca-palmer earlier (#442 (comment)). They proposed a similar correction to the regexp that didn't make it in the release. |
sk1p
added a commit
to sk1p/LiberTEM
that referenced
this issue
Sep 18, 2023
Work around pydata/numexpr#449 and remove outdated pins
sk1p
added a commit
to LiberTEM/LiberTEM
that referenced
this issue
Sep 18, 2023
Work around pydata/numexpr#449 and remove outdated pins
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With
numexpr
v2.8.6, the following code:raises an exception
ValueError: Expression 4.0e-9*x has forbidden control characters.
Complete exception:
This is working with v2.8.5.
Also,
numexpr.NumExpr("4.e-9*x")
ornumexpr.NumExpr("4.0*x")
works fine with v2.8.6.The text was updated successfully, but these errors were encountered: