summaryrefslogtreecommitdiff
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-03-19 13:56:54 -0400
committerR David Murray <rdmurray@bitdance.com>2013-03-19 13:56:54 -0400
commit660e89b163b52de6fbcdb4b0d963b2baf4da1d9d (patch)
treee75f8002c52874b5195a078169ffa492b3c83dec /Lib/difflib.py
parented1fe6be061d3c0be9d8b7735b65bd17db07850c (diff)
parent7889944b83cf04cefb45cd658644298218eac5db (diff)
downloadcpython-git-660e89b163b52de6fbcdb4b0d963b2baf4da1d9d.tar.gz
Merge: #17443: Fix buffering in IMAP4_stream.
In Python2 Popen uses *FILE objects, which wind up buffering even though subprocess defaults to no buffering. In Python3, subprocess streams really are unbuffered by default, but the imaplib code assumes read is buffered. This patch uses the default buffer size from the io module to get buffered streams from Popen. Much debugging work and patch by Diane Trout. The imap protocol is too complicated to write a test for this simple change with our current level of test infrastructure.
Diffstat (limited to 'Lib/difflib.py')
0 files changed, 0 insertions, 0 deletions