Changes by Krzysztof Nazarewski :
--
title: json.dumps() lack of information about RecursionError when using default
function -> json.dumps() lacks information about RecursionError related to
default function
___
Python tracker
&l
New submission from Krzysztof Nazarewski:
RecursionErrors related to json.dumps' default argument give no information
whatsoever about the underlying issue.
Example:
$ /usr/bin/python3 -c "import json;from decimal import
Decimal;json.dumps(Decimal(),default=lambda v:round(v, 8))&