mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
imaplib: comment on use of unbuffered pipes
This commit is contained in:
parent
223c2faa78
commit
e64546cbae
1 changed files with 1 additions and 1 deletions
|
@ -1703,7 +1703,7 @@ class IMAP4_stream(IMAP4):
|
||||||
self.sock = None
|
self.sock = None
|
||||||
self.file = None
|
self.file = None
|
||||||
self.process = subprocess.Popen(self.command,
|
self.process = subprocess.Popen(self.command,
|
||||||
bufsize=0,
|
bufsize=0, # Unbuffered stdin/stdout, for select() compatibility
|
||||||
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
|
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
|
||||||
shell=True, close_fds=True)
|
shell=True, close_fds=True)
|
||||||
self.writefile = self.process.stdin
|
self.writefile = self.process.stdin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue