8000 gh-98306: Support JSON encoding of NaNs and infinities as null by mdickinson · Pull Request #115246 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-98306: Support JSON encoding of NaNs and infinities as null #115246

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
wants to merge 12 commits into from
Prev Previous commit
Fix Sphinx role for DeprecationWarning
  • Loading branch information
mdickinson committed May 12, 2024
commit 3062f12c4a132fac05d142f47fcbdd8c123821ac
4 changes: 2 additions & 2 deletions Doc/library/json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Basic Usage
.. versionchanged:: 3.14
Added support for ``allow_nan='as_null'``. Passing any string value
other than ``'as_null'`` for *allow_nan* now triggers a
:warning:`DeprecationWarning`.
:exc:`DeprecationWarning`.

.. note::

Expand Down Expand Up @@ -504,7 +504,7 @@ Encoders and Decoders
.. versionchanged:: 3.14
Added support for ``allow_nan='as_null'``. Passing any string value
other than ``'as_null'`` for *allow_nan* now triggers a
:warning:`DeprecationWarning`.
:exc:`DeprecationWarning`.

.. method:: default(o)

Expand Down
0