Issue #10287: nntplib now queries the server's CAPABILITIES first before sending...
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 14 Feb 2012 22:30:35 +0000 (23:30 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 14 Feb 2012 22:30:35 +0000 (23:30 +0100)
Patch by Hynek Schlawack.

1  2 
Lib/nntplib.py
Lib/test/test_nntplib.py
Misc/NEWS

diff --cc Lib/nntplib.py
Simple merge
Simple merge
diff --cc Misc/NEWS
index a70d162ad398bd8878bda690294dc84f68f97805,06ce40474d6cdb832cc6892fe9ed59188fffb837..c9b0900a90213266cb6e0c5107c7aa96f544b472
+++ b/Misc/NEWS
@@@ -466,6 -113,13 +466,10 @@@ Core and Builtin
  Library
  -------
  
 -- Issue #13979: A bug in ctypes.util.find_library that caused
 -  the wrong library name to be returned has been fixed.
 -
+ - Issue #10287: nntplib now queries the server's CAPABILITIES first before
+   sending MODE READER, and only sends it if not already in READER mode.
+   Patch by Hynek Schlawack.
  - Issue #13993: HTMLParser is now able to handle broken end tags when
    strict=False.