[issue39196] json fails to encode dictionary view types

Inada Naoki report at bugs.python.org
Fri Jan 3 21:32:16 EST 2020


Inada Naoki <songofacandy at gmail.com> added the comment:

If we support more types by default, user can not customize serialization of the type using `default` option.
That's why we don't accept "any iterable" but only list and tuple.

----------
nosy: +inada.naoki

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


More information about the Python-bugs-list mailing list