Staging
v0.8.1
https://github.com/python/cpython
Revision fcb6d6a3b3bfba67927ced18dd648ba889e14f4c authored by R David Murray on 19 March 2013, 17:52:33 UTC, committed by R David Murray on 19 March 2013, 17:52:33 UTC
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.
1 parent ae4ef4d
History
Tip revision: fcb6d6a3b3bfba67927ced18dd648ba889e14f4c authored by R David Murray on 19 March 2013, 17:52:33 UTC
#17443: Fix buffering in IMAP4_stream.
Tip revision: fcb6d6a
File Mode Size
RPM
TextMate
Vim
ACKS -rw-r--r-- 17.6 KB
HISTORY -rw-r--r-- 713.8 KB
NEWS -rw-r--r-- 312.1 KB
Porting -rw-r--r-- 1.9 KB
README -rw-r--r-- 1.4 KB
README.AIX -rw-r--r-- 5.0 KB
README.coverity -rw-r--r-- 845 bytes
README.valgrind -rw-r--r-- 4.3 KB
SpecialBuilds.txt -rw-r--r-- 10.7 KB
gdbinit -rw-r--r-- 4.7 KB
indent.pro -rw-r--r-- 557 bytes
python-config.in -rw-r--r-- 1.8 KB
python-wing3.wpr -rw-r--r-- 555 bytes
python-wing4.wpr -rw-r--r-- 835 bytes
python.man -rw-r--r-- 13.9 KB
python.pc.in -rw-r--r-- 293 bytes
valgrind-python.supp -rw-r--r-- 6.6 KB
vgrindefs -rw-r--r-- 500 bytes

README

back to top