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 serhiy.storchaka
Recipients Krzysztof Nazarewski, bob.ippolito, ezio.melotti, rhettinger, serhiy.storchaka
Date 2017-07-31.15:08:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
simplejson behaves the same.

I thought default() was allowed to return only instances of types directly supported by JSON encoder (type(None), bool, int, float, list, tuple, dict). Is there a reason of allowing to call default() more than once on the same root object?
Date User Action Args
2017-07-31 15:08:28serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, bob.ippolito, ezio.melotti, Krzysztof Nazarewski
2017-07-31 15:08:28serhiy.storchakasetmessageid: <>
2017-07-31 15:08:28serhiy.storchakalinkissue30732 messages
2017-07-31 15:08:28serhiy.storchakacreate