]> khamidou — GitHub mirrors - imapclient.git/commitdiff
merge
authorMenno Smits <menno@freshfoo.com>
Mon, 27 Jul 2015 23:17:52 +0000 (11:17 +1200)
committerMenno Smits <menno@freshfoo.com>
Mon, 27 Jul 2015 23:17:52 +0000 (11:17 +1200)
1  2 
NEWS.rst
imapclient/imapclient.py

diff --cc NEWS.rst
index 5a81ad34cddf4a6a42a9d57252e4adfe10d627b0,b9474ec67a93bb2b1563f8fcb54c7a2437314952..d9be8aa910a247767bfca088624b826e2ebad7f1
+++ b/NEWS.rst
@@@ -2,11 -2,11 +2,17 @@@
   1.0.0
  =======
  
+ Performance optimsation for parsing message id lists
+ ----------------------------------------------------
+ A short circuit is now used when parsing a list of message ids which
+ greatly speeds up parsing time.
+ 
 +Other
 +-----
 +  * Perform quoting of Gmail labels. Thanks to Pawel Sz for the fix.
 +
 +
++
  ======
   0.13
  ======
index b872117c3984aec071b751e925280597e5319734,a6417ff50220cdf4b56f973dd4ae2f50ee092497..46a5d7956e775f5a11925c392dcfaaa06e53749e
@@@ -1052,6 -1037,6 +1052,7 @@@ def _quote(arg)
          q = b'"'
      return q + arg + q
  
++
  # normalise_text_list, seq_to_parentstr etc have to return unicode
  # because imaplib handles flags and sort criteria assuming these are
  # passed as unicode