➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author minrk
Recipients clleew, eric.araujo, ezio.melotti, minrk, mitar, rhettinger
Date 2021-09-30.11:24:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633001083.62.0.40116620262.issue36841@roundup.psfhosted.org>
In-reply-to
Content
We just ran into this in Jupyter where we've removed a pre-processing step for data structures passed to json.dumps, which took care of this, but was expensive https://github.com/jupyter/jupyter_client/pull/706

My expectation was that our `default` would be called for the unsupported value, but it isn't. I see the PR proposes a new option, but would it be sensible to use the already-existing `default` callback for this? It seems like what `default` is for.
History
Date User Action Args
2021-09-30 11:24:43minrksetrecipients: + minrk, rhettinger, ezio.melotti, eric.araujo, mitar, clleew
2021-09-30 11:24:43minrksetmessageid: <1633001083.62.0.40116620262.issue36841@roundup.psfhosted.org>
2021-09-30 11:24:43minrklinkissue36841 messages
2021-09-30 11:24:43minrkcreate