We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/voxel51/eta/blob/develop/eta/core/config.py#L461 Throws error if presented with "Infinity" string the result of json.dumps({"key": float("inf")} or "inf" the result of serializing python's float('inf'). This used to work! Not sure what changed..
"Infinity"
json.dumps({"key": float("inf")}
"inf"
float('inf')
The text was updated successfully, but these errors were encountered:
I can't seem to reproduce this. The following works as expected for me:
import json from eta.core.config import Config d = {"key": float("inf")} print(Config.parse_number(d, "key")) d2 = json.loads(json.dumps(d)) print(Config.parse_number(d2, "key"))
Sorry, something went wrong.
No branches or pull requests
https://github.com/voxel51/eta/blob/develop/eta/core/config.py#L461
Throws error if presented with
"Infinity"
string the result ofjson.dumps({"key": float("inf")}
or"inf"
the result of serializing python'sfloat('inf')
.This used to work! Not sure what changed..
The text was updated successfully, but these errors were encountered: