From e64546cbaec3020fc7c6db5320e852e40f28513b Mon Sep 17 00:00:00 2001 From: Forest Date: Mon, 23 Sep 2024 16:04:38 -0700 Subject: [PATCH] imaplib: comment on use of unbuffered pipes --- Lib/imaplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3