]> granicus.if.org Git - python/commit
Issue #17909: Accept binary input in json.loads
authorNick Coghlan <ncoghlan@gmail.com>
Sat, 10 Sep 2016 10:16:18 +0000 (20:16 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sat, 10 Sep 2016 10:16:18 +0000 (20:16 +1000)
commitb161562f72a28e83e62ec0a0a5de601e7724629f
treecdcfdd5c358fd7bcc4007dadd1aede5e66964396
parent457fc9a69e7918e3c10319604903915c2f2ecd9a
Issue #17909: Accept binary input in json.loads

json.loads (and hence json.load) now support binary input
encoded as UTF-8, UTF-16 or UTF-32.

Patch by Serhiy Storchaka.
Doc/library/json.rst
Doc/whatsnew/3.6.rst
Lib/json/__init__.py
Lib/test/test_json/test_decode.py
Lib/test/test_json/test_unicode.py
Misc/NEWS