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 <1501513708.86.0.204679329842.issue30732@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
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: <1501513708.86.0.204679329842.issue30732@psf.upfronthosting.co.za>
2017-07-31 15:08:28serhiy.storchakalinkissue30732 messages
2017-07-31 15:08:28serhiy.storchakacreate