Fixes issue #17192: Update the ctypes module's libffi to v3.0.13.  This
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
#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.
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.
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.
../bug-fixes/http_error_interface/.hg/last-message.txt
Refactor test_urllib2. Include test_HTTPError_interface under MiscTests
merge branch
#8862: Fix curses cleanup with getchar is interrupted by a signal.

I have no idea how one would write a test for this.

Patch by July Tikhonov.
Merge: #8862: Fix curses cleanup with getchar is interrupted by a signal.

I have no idea how one would write a test for this.

Patch by July Tikhonov.
Merge: #8862: Fix curses cleanup with getchar is interrupted by a signal.

I have no idea how one would write a test for this.

Patch by July Tikhonov.
#17471 - Improve urllib2 test coverage. Patch contributed by Daniel Wozniak
#17471 - merge from 3.2
#17471 - merge from 3.3
Fixes Issue #17192: Update the ctypes module's libffi to v3.0.13.  This
specifically addresses a stack misalignment issue on x86 and issues
on some more recent platforms.
merge heads in 3.2
- update config.guess and config.sub
- update config.guess and config.sub
merge heads in 3.3
merge heads
#1525919: Document MIMEText+set_payload encoding behavior.