From: Forest Date: Mon, 23 Sep 2024 23:04:38 +0000 (-0700) Subject: imaplib: comment on use of unbuffered pipes X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e64546cbaec3020fc7c6db5320e852e40f28513b;p=thirdparty%2FPython%2Fcpython.git imaplib: comment on use of unbuffered pipes --- diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 3f5f3afdda8f..b006a74a8190 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -1703,7 +1703,7 @@ class IMAP4_stream(IMAP4): self.sock = None self.file = None self.process = subprocess.Popen(self.command, - bufsize=0, + bufsize=0, # Unbuffered stdin/stdout, for select() compatibility stdin=subprocess.PIPE, stdout=subprocess.PIPE, shell=True, close_fds=True) self.writefile = self.process.stdin