Staging
v0.8.1
Revision 7889944b83cf04cefb45cd658644298218eac5db authored by R David Murray on 19 March 2013, 17:56:01 UTC, committed by R David Murray on 19 March 2013, 17:56:01 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.
2 parent s e185341 + fcb6d6a
History
File Mode Size
Grammar -rw-r--r-- 5.9 KB

back to top