Brett Cannon added the comment: Here is a preliminary patch with docs. I didn't do any tests because I just don't know what kind of test we would want. Use isinstance() to make sure it covers the types we expect? And I'm not sure how to test the key type for mappings.
---------- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file42206/jsontype.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26396> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com