Skip to content

Commit e64546c

Browse files
committed
imaplib: comment on use of unbuffered pipes
1 parent 223c2fa commit e64546c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/imaplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@ def open(self, host=None, port=None, timeout=None):
17031703
self.sock = None
17041704
self.file = None
17051705
self.process = subprocess.Popen(self.command,
1706-
bufsize=0,
1706+
bufsize=0, # Unbuffered stdin/stdout, for select() compatibility
17071707
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
17081708
shell=True, close_fds=True)
17091709
self.writefile = self.process.stdin

0 commit comments

Comments
 (0)