cpython/Lib
R David Murray 660e89b163 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.
2013-03-19 13:56:54 -04:00
..
collections Merge 2013-03-01 23:51:26 -08:00
concurrent Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
ctypes modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
curses Fix docstring in curses (#16782) 2012-12-29 23:08:07 +02:00
dbm Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
distutils use the HTTPS for pypi upload 2013-03-18 15:20:56 -07:00
email Add missing FeedParser and BytesFeedParser to email.parser.__all__. 2013-03-15 21:00:48 -04:00
encodings Normalize whitespace 2012-06-16 22:50:54 +02:00
html #16245: Fix the value of a few entities in html.entities.html5. 2012-10-23 15:51:27 +02:00
http #17460: Remove the strict argument of HTTPConnection and removing the 2013-03-18 14:11:41 -07:00
idlelib Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
importlib #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters. 2013-03-16 19:48:51 +02:00
json Merge #16057: Clarify why the base method default is called in custom encoders. 2013-03-17 21:53:48 -04:00
lib2to3 Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
logging modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
msilib Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, 2013-03-11 17:57:08 -04:00
multiprocessing Merge 2013-02-26 13:11:11 +00:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic - Issue #17031: Fix running regen in cross builds. 2013-01-25 18:45:12 +01:00
plat-linux Close #12326: sys.platform is now always 'linux' on Linux 2011-08-20 23:39:26 +02:00
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data Update pydoc topics and suspicious markup file. 2012-08-25 12:14:59 +02:00
site-packages
sqlite3 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:46:12 +02:00
test Merge: #17476: make allmethods actually return all methods. 2013-03-19 02:47:44 -04:00
tkinter Fix usage of the unittest.skip decorator. 2013-03-19 13:27:24 +02:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest Closes issue 16709. unittest test discovery sorts test files for consistent test ordering 2013-03-18 17:50:12 -07:00
urllib #17474 - Remove the various deprecated methods of Request class. 2013-03-18 18:06:00 -07:00
venv Closes #16378: Merged docstring changes from 3.3. 2012-11-14 11:19:42 +00:00
wsgiref Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
xml Issue #11367: fix documentation of some find* methods in ElementTree 2013-03-12 06:04:33 -07:00
xmlrpc Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
__phello__.foo.py
_compat_pickle.py
_dummy_thread.py
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
_osx_support.py Issue #13590: OS X Xcode 4 - improve support for universal extension modules 2013-01-31 01:28:23 -08:00
_pyio.py Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
_strptime.py Issue #17165: fix a bare import in _strptime.py. 2013-02-10 19:29:17 +01:00
_threading_local.py
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:15:38 -06:00
abc.py Issue #16049: add abc.ABC helper class. 2012-12-13 19:09:33 +02:00
aifc.py Issue #16486: Make aifc files work with 'with' as context managers. 2012-12-29 22:54:49 +02:00
antigravity.py
argparse.py Issue #17047: remove doubled words added in 3.4, 2013-03-11 18:38:13 -04:00
ast.py create NameConstant AST class for None, True, and False literals (closes #16619) 2012-12-06 17:41:04 -05:00
asynchat.py Issue #16787: Increase asyncore and asynchat default output buffers size, to 2013-01-01 16:31:54 +01:00
asyncore.py Issue #16787: Increase asyncore and asynchat default output buffers size, to 2013-01-01 16:31:54 +01:00
base64.py Speed up base64.urlsafe_{en,de}code(). 2012-06-22 15:16:09 -07:00
bdb.py Have Bdb frame_returning in the finally clause 2012-05-01 10:46:59 +08:00
binhex.py remove unused imports (closes #12432) 2011-06-28 10:25:04 -05:00
bisect.py
bz2.py bz2 module: Rewrap docstrings at 72 columns, as per PEP 8. 2012-10-08 20:31:34 +02:00
calendar.py #15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier. 2012-09-21 17:26:35 +03:00
cgi.py merge from 3.3 2013-01-23 03:01:23 -08:00
cgitb.py merge #12890: don't emit <p> tags in text mode when logdir specified. 2012-10-27 14:55:25 -04:00
chunk.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
cmd.py Issue 15337: help() shown as undocumented 2012-07-16 00:11:05 -07:00
code.py Issue #12643: Respect sys.excepthook in code.InteractiveConsole 2012-08-20 23:02:28 +10:00
codecs.py Issue16097 Fix small typo in comment (patch by Wael Al Jishi) 2012-10-01 16:41:08 +01:00
codeop.py
colorsys.py
compileall.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
configparser.py configparser: preserve section order when using __setitem__ (issue #16820) 2013-01-01 23:45:33 +01:00
contextlib.py Issue #15806: Add contextlib.ignored(). 2013-03-10 22:26:51 -07:00
copy.py #11572: improvements to copy module tests along with removal of old test suite 2011-08-05 23:05:35 +02:00
copyreg.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
cProfile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
crypt.py white space cleanup 2012-06-27 15:37:47 +02:00
csv.py
datetime.py Closes #15973: fix a segmentation fault when comparing timezone objects. 2012-09-22 09:23:12 +02:00
decimal.py Merge 3.3. 2012-12-15 22:36:49 +01:00
difflib.py utilize yield from 2012-10-01 12:53:43 -07:00
dis.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
doctest.py #16522: Add FAIL_FAST flag to doctest. 2012-11-21 15:09:21 -05:00
dummy_threading.py
filecmp.py Close #15442: Expand the list of default directories ignored by filecmp.dircmp and expose it as a module attribute 2013-01-12 06:13:32 -08:00
fileinput.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
fnmatch.py Set cache sizes to a power-of-two 2013-02-17 01:33:37 -08:00
formatter.py
fractions.py Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError. 2012-11-15 20:58:40 +00:00
ftplib.py (issue 17452 / ftplib) fix TypeError occurring in case ssl module is not installed 2013-03-18 09:59:15 +01:00
functools.py merge 2013-03-08 23:04:47 -08:00
genericpath.py Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile. 2012-12-26 07:03:03 -06:00
getopt.py
getpass.py Get rig of EnvironmentError (#16705) 2012-12-17 23:35:18 +02:00
gettext.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
glob.py Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:56:15 +01:00
gzip.py Issue #1159051: GzipFile now raises EOFError when reading a corrupted file 2013-01-22 17:11:07 +02:00
hashlib.py Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00
heapq.py Fix typo 2013-03-05 02:11:10 -05:00
hmac.py Issue #15225: improve error message when hmac is passed a wrong key type. 2012-06-30 17:27:56 +02:00
imaplib.py Merge: #17443: Fix buffering in IMAP4_stream. 2013-03-19 13:56:54 -04:00
imghdr.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
imp.py Issue #16880: _imp.load_dynamic() is not defined on a platform that 2013-03-17 15:48:16 -07:00
inspect.py Issue #17071: Signature.bind() now works when one of the keyword arguments is named self. 2013-01-29 21:21:56 +01:00
io.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ipaddress.py Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
keyword.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
linecache.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
locale.py Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
lzma.py Issue #16034 follow-up: Apply optimizations to the lzma module. 2012-10-21 16:57:32 +02:00
macpath.py Issue #16706: get rid of os.error 2012-12-18 22:02:39 +02:00
macurl2path.py
mailbox.py modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
mailcap.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
mimetypes.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
modulefinder.py merge with 3.3 2012-12-22 19:38:32 -05:00
netrc.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
nntplib.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ntpath.py Fix #16788. Add samestat to Lib/ntpath.py 2012-12-26 08:22:00 -06:00
nturl2path.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
numbers.py Update docstring with more useful text (from the PEP) 2012-02-26 01:37:47 +01:00
opcode.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
optparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
os.py modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
pdb.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
pickle.py Issue #12848: The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does. 2012-11-24 20:41:34 +01:00
pickletools.py Merge 3.2 2011-12-13 13:22:42 -05:00
pipes.py Merge doc changes from 3.2 (#10454, #12298) 2011-09-02 00:03:20 +02:00
pkgutil.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
platform.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
plistlib.py #14835: Make plistlib output empty arrays & dicts like OS X 2012-05-29 12:04:54 +02:00
poplib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
posixpath.py Fix posixpath.realpath() for multiple pardirs (fixes issue #6975). 2013-02-18 12:22:05 +02:00
pprint.py Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key. 2012-07-21 11:17:38 +02:00
profile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
pstats.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
pty.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
py_compile.py Port py_compile over to importlib 2013-01-26 08:48:36 -05:00
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py Merge: #17476: make allmethods actually return all methods. 2013-03-19 02:47:44 -04:00
queue.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
quopri.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
random.py Issue #17141: random.vonmisesvariate() no more hangs for large kappas. 2013-02-10 19:29:54 +02:00
re.py Issue #16564: Fixed a performance regression relative to Python 3.1 in the 2013-03-16 22:53:48 +02:00
reprlib.py Avoid pulling threading when _thread is sufficient 2011-10-11 18:51:53 +02:00
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
runpy.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
sched.py Issue #16640: Run less code under a lock in sched module. 2012-12-29 21:46:37 +02:00
shelve.py Add spaces to follow PEP8. 2012-10-06 18:38:30 +03:00
shlex.py Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:35 +01:00
shutil.py #17076: Make copying of xattrs more permissive of missing FS support 2013-02-05 08:25:24 +01:00
site.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
smtpd.py modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
smtplib.py Issue #16647: save socket error details in LMTP.connect() 2012-12-17 19:06:43 +02:00
sndhdr.py #5024: whichhdr now returns the frame count for WAV files. 2013-03-18 17:42:42 -04:00
socket.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
socketserver.py Merge with 3.3 2012-12-26 15:15:17 +00:00
sre_compile.py Issue #13169: The maximal repetition number in a regular expression has been 2013-02-16 16:54:33 +02:00
sre_constants.py Fix issue #13169: Reimport MAXREPEAT into sre_constants.py. 2013-02-18 11:14:21 +02:00
sre_parse.py Issue #13169: The maximal repetition number in a regular expression has been 2013-02-16 16:54:33 +02:00
ssl.py merge 3.3 (#16900) 2013-01-10 14:16:42 -06:00
stat.py #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning. 2012-05-15 15:30:25 +02:00
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
stringprep.py
struct.py
subprocess.py Issue #16903: Popen.communicate() on Unix now accepts strings when 2013-02-04 16:47:39 +02:00
sunau.py
symbol.py remain symbol.main to symbol._main mirroring token.py 2013-02-05 10:13:22 -05:00
symtable.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
sysconfig.py Issue #13590: OS X Xcode 4 - improve support for universal extension modules 2013-01-31 01:28:23 -08:00
tabnanny.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tarfile.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
telnetlib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
tempfile.py Fix for issue #16800: Use buffered write to handle EINTR. 2013-02-13 01:00:17 +02:00
textwrap.py Close #13857: Added textwrap.indent() function (initial patch by Ezra 2012-06-11 23:07:51 +10:00
this.py
threading.py Improve variable names 2013-03-10 20:34:16 -07:00
timeit.py Issue #17414: Add timeit, repeat, and default_timer to timeit.__all__. 2013-03-15 03:04:25 -04:00
token.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tokenize.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
trace.py #17143: merge with 3.3. 2013-02-15 21:22:22 +02:00
traceback.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
tty.py
turtle.py Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
types.py Eric Snow's implementation of PEP 421. 2012-06-03 16:18:47 -04:00
uu.py
uuid.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
warnings.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
wave.py Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz. 2012-11-17 03:41:54 +01:00
weakref.py Issue #14631: Add a new :class:weakref.WeakMethod to simulate weak references to bound methods. 2012-11-17 18:57:38 +01:00
webbrowser.py Issue #16996: webbrowser module now uses shutil.which() to find a 2013-02-13 12:19:40 +02:00
xdrlib.py Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
zipfile.py Refactor recently added bugfix into more testable code by using a 2013-02-03 00:37:36 -08:00