summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2013-03-19 22:03:26 (GMT)
committerGregory P. Smith <greg@krypto.org>2013-03-19 22:03:26 (GMT)
commitdd351628942718ede440c8ffe6911f379c9e15b1 (patch)
tree1c0937103d8a7c54f185dfd208a02192da369f04 /Lib/imaplib.py
parent029273fc903bcbdd689132f153d53004a8aee0b2 (diff)
parent843fae93121ac7ac1088b0521773eff567e7b41c (diff)
downloadcpython-dd351628942718ede440c8ffe6911f379c9e15b1.zip
cpython-dd351628942718ede440c8ffe6911f379c9e15b1.tar.gz
cpython-dd351628942718ede440c8ffe6911f379c9e15b1.tar.bz2
merge heads in 3.2
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 00a17fb..e2a0581 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -23,6 +23,7 @@ Public functions: Internaldate2tuple
__version__ = "2.58"
import binascii, errno, random, re, socket, subprocess, sys, time, calendar
+from io import DEFAULT_BUFFER_SIZE
try:
import ssl
@@ -1237,6 +1238,7 @@ class IMAP4_stream(IMAP4):
self.sock = None
self.file = None
self.process = subprocess.Popen(self.command,
+ bufsize=DEFAULT_BUFFER_SIZE,
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
shell=True, close_fds=True)
self.writefile = self.process.stdin