R. David Murray added the comment: Right, the appropriate thing to do there is to write a custom encoder/decoder to handle those objects. json only automatically handles types that work like the fundamental types, and this is a good thing, security-wise :)
---------- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17377> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com