Steve Dower <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue34972>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to