Staging
v0.5.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
Raw File
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
.bzrignore
ยด.purify
autom4te.cache
config.log
config.cache
config.status
config.status.lineno
db_home
Makefile
buildno
python
build
Makefile.pre
platform
pybuilddir.txt
pyconfig.h
libpython*.a
libpython*.so*
python.exe
python-gdb.py
reflog.txt
tags
TAGS
.gdb_history
Doc/tools/sphinx
Doc/tools/jinja
Doc/tools/jinja2
Doc/tools/pygments
Doc/tools/docutils
Misc/python.pc
Modules/Setup
Modules/Setup.config
Modules/Setup.local
Modules/config.c
Modules/ld_so_aix
Parser/pgen
Parser/pgen.stamp
Lib/test/data/*
Lib/lib2to3/Grammar*.pickle
Lib/lib2to3/PatternGrammar*.pickle
__pycache__
.coverage
coverage/*
htmlcov/*
back to top