[issue34972] json dump silently converts int keys to string

Eric V. Smith report at bugs.python.org
Sat Oct 13 20:25:05 EDT 2018


Eric V. Smith <eric at trueblade.com> added the comment:

I can't think of another place where we issue a warning for anything similar. I'm opposed to any changes here: it's clearly documented behavior.

It's like being surprised .ini files convert to strings: it's just how that format works.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34972>
_______________________________________


More information about the Python-bugs-list mailing list