]> granicus.if.org Git - python/commitdiff
#17368: merge with 3.3.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 12 Mar 2013 23:55:07 +0000 (01:55 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 12 Mar 2013 23:55:07 +0000 (01:55 +0200)
1  2 
Lib/json/decoder.py
Misc/NEWS

Simple merge
diff --cc Misc/NEWS
index b062c6ccdc5a3e570d4cecd517854a9c76545ad1,1b561df784b17cfd76293b13d9eb6bc17a20d85d..a2068b192abce7a09797397104ffb7d511212562
+++ b/Misc/NEWS
@@@ -277,12 -193,10 +277,16 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #17368: Fix an off-by-one error in the Python JSON decoder that caused
+   a failure while decoding empty object literals when object_pairs_hook was
+   specified.
 +_ Issue #17385: Fix quadratic behavior in threading.Condition.  The FIFO
 +  queue now uses a deque instead of a list.
 +
 +- Issue #15806: Add contextlib.ignored().  This creates a context manager
 +  to ignore specified exceptions, replacing the "except Exc: pass" idiom.
 +
  - Issue #14645: The email generator classes now produce output using the
    specified linesep throughout.  Previously if the prolog, epilog, or
    body were stored with a different linesep, that linesep was used.  This