Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

+1 for reconsidering whether the json module should support mappings that don't 
inherit for dict.  The decision not to support general mappings is ancient and 
predates a lot of modern tooling.

The only worry is that the objects won't round-trip — you could store a 
ChainMap but you wouldn't get a ChainMap back :-(

----------

_______________________________________
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

Reply via email to