Nathaniel Manista <nathan...@google.com> added the comment:
There's a great deal more additional discussion about this over at https://discuss.python.org/t/json-does-not-support-mapping-and-mutablemapping/2829, but I would like to heartily "hear hear" this issue for the way it is weird that json.dumps(frozendict.frozendict({'3':5})) does not evaluate to the string "{'3': 5}" and it's something that makes writing according to and teaching others to code according to the make-your-code-safer-by-using-immutability-in-all-possible-things principle. ---------- nosy: +Nathaniel Manista _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34858> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com