Steve Dower <steve.do...@python.org> added the comment:
Agreed with Eric. json.dump needs to produce valid JSON, which requires keys to be strings. Try using pickle if you need to preserve full Python semantics. ---------- nosy: +steve.dower resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34972> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com