]> granicus.if.org Git - python/commitdiff
Merge: #14977: Make mailcap respect the order of the lines in the mailcap file.
authorR David Murray <rdmurray@bitdance.com>
Sat, 10 Sep 2016 00:09:43 +0000 (20:09 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sat, 10 Sep 2016 00:09:43 +0000 (20:09 -0400)
1  2 
Lib/test/test_mailcap.py
Misc/ACKS
Misc/NEWS

index 5c7d6cb4311f7d58f1d6f2a98aedd8e7b0d72591,a85c69164d5908b5e22e7904f78de456794303f1..c08423c670739ad7c6e4e28d252e1d25d78752bf
@@@ -1,5 -1,7 +1,6 @@@
  import mailcap
  import os
 -import shutil
+ import copy
  import test.support
  import unittest
  
diff --cc Misc/ACKS
Simple merge
diff --cc Misc/NEWS
index 649c3913c7f43dee84085401db4ce896ffd9274f,6ef92f7af855d6cbad2b3ad135d249143c067e85..3012a974e183611f76042f8bbfe427a7675b4516
+++ b/Misc/NEWS
@@@ -122,11 -62,9 +122,14 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #14977: mailcap now respects the order of the lines in the mailcap
+   files ("first match"), as required by RFC 1542.  Patch by Michael Lazar.
 +- Issue #28025: Convert all ssl module constants to IntEnum and IntFlags.
 +  SSLContext properties now return flags and enums.
 +
 +- Issue #433028: Added support of modifier spans in regular expressions.
 +
  - Issue #24594: Validates persist parameter when opening MSI database
  
  - Issue #28047: Fixed calculation of line length used for the base64 CTE
  - Issue #27445: Don't pass str(_charset) to MIMEText.set_payload().
    Patch by Claude Paroz.
  
 +- Issue #24277: The new email API is no longer provisional, and the docs
 +  have been reorganized and rewritten to emphasize the new API.
 +
+ - Issue #22450: urllib now includes an "Accept: */*" header among the
+   default headers.  This makes the results of REST API requests more
+   consistent and predictable especially when proxy servers are involved.
  - lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
    between runs given the same Grammar.txt input regardless of the hash
    randomization setting.