diff options
-rw-r--r-- | Lib/imaplib.py | 2 | ||||
-rw-r--r-- | Misc/ACKS | 1 |
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): @@ -20,6 +20,7 @@ Ross Andrus Jason Asbahr David Ascher Donovan Baarda +Alfonso Baciero Stig Bakken Greg Ball Cesar Eduardo Barros |