diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2016-09-10 10:16:18 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2016-09-10 10:16:18 (GMT) |
commit | b161562f72a28e83e62ec0a0a5de601e7724629f (patch) | |
tree | cdcfdd5c358fd7bcc4007dadd1aede5e66964396 /Misc | |
parent | 457fc9a69e7918e3c10319604903915c2f2ecd9a (diff) | |
download | cpython-b161562f72a28e83e62ec0a0a5de601e7724629f.zip cpython-b161562f72a28e83e62ec0a0a5de601e7724629f.tar.gz cpython-b161562f72a28e83e62ec0a0a5de601e7724629f.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -135,6 +135,9 @@ Core and Builtins Library ------- +- Issue #17909: ``json.load`` and ``json.loads`` now support binary input + encoded as UTF-8, UTF-16 or UTF-32. Patch by Serhiy Storchaka. + - Issue #27137: the pure Python fallback implementation of ``functools.partial`` now matches the behaviour of its accelerated C counterpart for subclassing, pickling and text representation purposes. Patch by Emanuel Barry and |