summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/imaplib.py2
-rw-r--r--Misc/ACKS1
2 files changed, 2 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index c82b455..005cf16 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -207,7 +207,7 @@ class IMAP4:
"""
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.sock.connect((self.host, self.port))
- self.file = self.sock.makefile('r')
+ self.file = self.sock.makefile('rb')
def read(self, size):
diff --git a/Misc/ACKS b/Misc/ACKS
index 7ee0b87..6569766 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -20,6 +20,7 @@ Ross Andrus
Jason Asbahr
David Ascher
Donovan Baarda
+Alfonso Baciero
Stig Bakken
Greg Ball
Cesar Eduardo Barros