Skip to content
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

Add test to ensure NaN and inf are roundtripped in JSON #411

Closed
itamarst opened this issue May 9, 2019 · 0 comments · Fixed by #416
Closed

Add test to ensure NaN and inf are roundtripped in JSON #411

itamarst opened this issue May 9, 2019 · 0 comments · Fixed by #416
Milestone

Comments

@itamarst
Copy link
Owner

itamarst commented May 9, 2019

For scientific computing preserving NaN and friends is useful. Currently Python's JSON library already does this, but switching libraries (#372) could impact that:

>>> json.loads(json.dumps(float("nan")))
nan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant